Add hard error and migration lint for unsafe attrs
This commit is contained in:
@@ -691,6 +691,10 @@ pub enum BuiltinLintDiag {
|
||||
/// The span of the unnecessarily-qualified path to remove.
|
||||
removal_span: Span,
|
||||
},
|
||||
UnsafeAttrOutsideUnsafe {
|
||||
attribute_name_span: Span,
|
||||
sugg_spans: (Span, Span),
|
||||
},
|
||||
AssociatedConstElidedLifetime {
|
||||
elided: bool,
|
||||
span: Span,
|
||||
|
||||
Reference in New Issue
Block a user