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

idea: smart handling of new lints #2

Open
ericseppanen opened this issue Jul 7, 2022 · 0 comments
Open

idea: smart handling of new lints #2

ericseppanen opened this issue Jul 7, 2022 · 0 comments

Comments

@ericseppanen
Copy link
Owner

If I use a new clippy lint in Cranky.toml, but someone else hasn't moved to that Rust version yet, they will get an "unknown lint" error.

If I don't want to bump the crate's minimum supported Rust version, I should be able to add that lint anyway-- and cargo cranky should be able to observe what stable release I'm on and disable lints that are too new.

Would this require hardcoding a list of clippy lints and the version when they landed? That sounds a bit hard to keep up with.

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