File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
compiler/rustc_attr_parsing Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -135,9 +135,7 @@ attr_parsing_unused_duplicate =
135135 unused attribute
136136 .suggestion = remove this attribute
137137 .note = attribute also specified here
138- .warn = { -attr_parsing_previously_accepted }
139-
140-
138+ .warn = { -passes_previously_accepted }
141139attr_parsing_unused_multiple =
142140 multiple `{ $name } ` attributes
143141 .suggestion = remove this attribute
Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ pub(crate) struct UnusedMultiple {
452452}
453453
454454#[ derive( LintDiagnostic ) ]
455- #[ diag( attr_parsing_unused_multiple ) ]
455+ #[ diag( attr_parsing_unused_duplicate ) ]
456456pub ( crate ) struct UnusedDuplicate {
457457 #[ suggestion( code = "" , applicability = "machine-applicable" ) ]
458458 pub this : Span ,
You can’t perform that action at this time.
0 commit comments