Skip to content

Commit

Permalink
🦄 refactor(mixed_table): Update error message
Browse files Browse the repository at this point in the history
Update mixed table lint error message to be more descriptive
  • Loading branch information
Midnightific committed Feb 5, 2024
1 parent 8c04c77 commit 400217a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selene-lib/src/lints/mixed_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Lint for MixedTableLint {
for mixed_table in visitor.mixed_tables {
diagnostics.push(Diagnostic::new_complete(
"mixed_table",
"mixed tables are not allowed".to_owned(),
"mixed tables are heavily discouraged due to factors such as: type safety, readability, compatibility, and debugging".to_owned(),
Label::new(mixed_table.range),
vec!["help: change this table to either an array or dictionary".to_owned()],
Vec::new(),
Expand Down

0 comments on commit 400217a

Please sign in to comment.