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 =
135
135
unused attribute
136
136
.suggestion = remove this attribute
137
137
.note = attribute also specified here
138
- .warn = { -attr_parsing_previously_accepted }
139
-
140
-
138
+ .warn = { -passes_previously_accepted }
141
139
attr_parsing_unused_multiple =
142
140
multiple `{ $name } ` attributes
143
141
.suggestion = remove this attribute
Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ pub(crate) struct UnusedMultiple {
452
452
}
453
453
454
454
#[ derive( LintDiagnostic ) ]
455
- #[ diag( attr_parsing_unused_multiple ) ]
455
+ #[ diag( attr_parsing_unused_duplicate ) ]
456
456
pub ( crate ) struct UnusedDuplicate {
457
457
#[ suggestion( code = "" , applicability = "machine-applicable" ) ]
458
458
pub this : Span ,
You can’t perform that action at this time.
0 commit comments