rust-lang / rust-lang/rust-clippy
Display lints which are blocked by the configured MSRV
Open
Nobody has claimed this yet.
A-infra
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Description
For crates which use a configured MSRV for documentation purposes, it would be good to have a way to receive lint suggestions that would require raising the crate's MSRV. User facing part would look something like:
- Normal runs of clippy will filter these out like normal, but with an additional diagnostic output to note that lints were suppressed do to the configured MSRV.
- Some way to run clippy (config/argument/something else) to display the MSRV filtered lints. All these lints should have a note about raising the MSRV.
- If
--fixis used for these lints the MSRV should also be changed.
Version
No response
Additional Labels
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Clippy's configured MSRV filtering and its existing diagnostic, configuration or argument, and --fix paths. Define how normal runs report suppressed lints, how users request MSRV-filtered lints, and how completion should update the configured MSRV.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100