-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
unused_features triggers on stable lint_reasons despite usage #153523
Copy link
Copy link
Closed
Labels
A-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-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.F-lint_reasons`#![feature(lint_reasons)]``#![feature(lint_reasons)]`L-unused_featuresLint: unused_featuresLint: unused_featuresT-langRelevant to the language teamRelevant to the language team
Metadata
Metadata
Assignees
Labels
A-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-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.F-lint_reasons`#![feature(lint_reasons)]``#![feature(lint_reasons)]`L-unused_featuresLint: unused_featuresLint: unused_featuresT-langRelevant to the language teamRelevant to the language team
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen: no error emitted
Instead, this happened: Error:
Meta
rustc --version --verbose: