1
Fork 0

Move the unused extern crate check back to the resolver.

This commit is contained in:
Camille GILLOT 2023-02-22 20:25:10 +00:00
parent b869e84e58
commit 958419d354
8 changed files with 190 additions and 169 deletions

View file

@ -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