warn on unused linker_messages warning attributes

This commit is contained in:
jyn
2024-10-16 01:35:01 -04:00
parent 537218afb2
commit fda2384333
7 changed files with 71 additions and 0 deletions

View File

@@ -802,6 +802,8 @@ pub(crate) enum UnusedNote {
NoLints { name: Symbol },
#[note(passes_unused_default_method_body_const_note)]
DefaultMethodBodyConst,
#[note(passes_unused_linker_warnings_note)]
LinkerWarningsBinaryCrateOnly,
}
#[derive(LintDiagnostic)]