-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
unused-extern-crate false positive with sysroot crates #69304
Copy link
Copy link
Closed
Labels
A-edition-2018Area: The 2018 editionArea: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-edition-2018Area: The 2018 editionArea: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.Relevant to the cargo team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
To use certain crates such as
proc_macroit is required to include it withextern crate proc_macro. Similar thing applies to other sysroot crates.Denying the
unusedgroup of lints will prevent code from compiling properly with an error like this: