diff --git a/vhdl_lang/src/lint/dead_code.rs b/vhdl_lang/src/lint/dead_code.rs index 37fb8987..44d9ce27 100644 --- a/vhdl_lang/src/lint/dead_code.rs +++ b/vhdl_lang/src/lint/dead_code.rs @@ -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()