Skip to content

Commit

Permalink
Improve unused declaration message
Browse files Browse the repository at this point in the history
  • Loading branch information
kraigher committed Nov 6, 2023
1 parent 1131197 commit af9532c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhdl_lang/src/lint/dead_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl UnusedDeclarationsLinter {
.filter_map(|ent| {
Some(Diagnostic::warning(
ent.decl_pos()?,
format!("Unused declaration {}", ent.designator()),
format!("Unused declaration of {}", ent.describe()),
))
})
.collect_vec()
Expand Down

0 comments on commit af9532c

Please sign in to comment.