Lint for unused unstable feature gates #63850
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-stability
Area: `#[stable]`, `#[unstable]` etc.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
I've seen two codebases now that used to have unused feature gates:
It would be cool to lint for feature gates that are still unstable but are not "used" by the codebase anywhere so they can be removed. That way, it's easy to know which nightly features a codebase actually still needs.
The text was updated successfully, but these errors were encountered: