Move the unused extern crate check back to the resolver.
This commit is contained in:
parent
b869e84e58
commit
958419d354
8 changed files with 190 additions and 169 deletions
|
@ -522,6 +522,13 @@ pub enum BuiltinLintDiagnostics {
|
|||
is_formatting_arg: bool,
|
||||
},
|
||||
ByteSliceInPackedStructWithDerive,
|
||||
UnusedExternCrate {
|
||||
removal_span: Span,
|
||||
},
|
||||
ExternCrateNotIdiomatic {
|
||||
vis_span: Span,
|
||||
ident_span: Span,
|
||||
},
|
||||
}
|
||||
|
||||
/// Lints that are buffered up early on in the `Session` before the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue