File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -801,8 +801,8 @@ passes_unused_duplicate =
801801passes_unused_empty_lints_note =
802802 attribute `{ $name } ` with an empty list has no effect
803803
804- passes_unused_linker_warnings_note =
805- the `linker_warnings ` lint can only be controlled at the root of a crate that needs to be linked
804+ passes_unused_linker_messages_note =
805+ the `linker_messages ` lint can only be controlled at the root of a crate that needs to be linked
806806
807807passes_unused_multiple =
808808 multiple `{ $name } ` attributes
Original file line number Diff line number Diff line change @@ -2382,7 +2382,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
23822382 . iter ( )
23832383 . all ( |kind| matches ! ( kind, CrateType :: Rlib | CrateType :: Staticlib ) ) ;
23842384 if never_needs_link {
2385- errors:: UnusedNote :: LinkerWarningsBinaryCrateOnly
2385+ errors:: UnusedNote :: LinkerMessagesBinaryCrateOnly
23862386 } else {
23872387 return ;
23882388 }
Original file line number Diff line number Diff line change @@ -770,8 +770,8 @@ pub(crate) enum UnusedNote {
770770 NoLints { name : Symbol } ,
771771 #[ note( passes_unused_default_method_body_const_note) ]
772772 DefaultMethodBodyConst ,
773- #[ note( passes_unused_linker_warnings_note ) ]
774- LinkerWarningsBinaryCrateOnly ,
773+ #[ note( passes_unused_linker_messages_note ) ]
774+ LinkerMessagesBinaryCrateOnly ,
775775}
776776
777777#[ derive( LintDiagnostic ) ]
You can’t perform that action at this time.
0 commit comments