Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display lints which are blocked by the configured MSRV #13416

Open
Jarcho opened this issue Sep 19, 2024 · 0 comments
Open

Display lints which are blocked by the configured MSRV #13416

Jarcho opened this issue Sep 19, 2024 · 0 comments

Comments

@Jarcho
Copy link
Contributor

Jarcho commented Sep 19, 2024

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 --fix is used for these lints the MSRV should also be changed.

Version

No response

Additional Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant