Skip to content

Commit af9532c

Browse files
committed
Improve unused declaration message
1 parent 1131197 commit af9532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vhdl_lang/src/lint/dead_code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl UnusedDeclarationsLinter {
237237
.filter_map(|ent| {
238238
Some(Diagnostic::warning(
239239
ent.decl_pos()?,
240-
format!("Unused declaration {}", ent.designator()),
240+
format!("Unused declaration of {}", ent.describe()),
241241
))
242242
})
243243
.collect_vec()

0 commit comments

Comments
 (0)