unused-extern-crate false positive with sysroot crates #69304
Labels
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-cargo
Relevant to the cargo team, which will review and decide on the PR/issue.
To use certain crates such as
proc_macro
it is required to include it withextern crate proc_macro
. Similar thing applies to other sysroot crates.Denying the
unused
group of lints will prevent code from compiling properly with an error like this:The text was updated successfully, but these errors were encountered: