Skip to content

Soft rename clippy::all to clippy::default #14689

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alexendoo
Copy link
Member

r? @flip1995

For now I haven't updated the docs since people read the current README/etc for stable usage

changelog: clippy::all has been renamed to clippy::default, existing uses of clippy::all do not need to be changed

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 24, 2025
@@ -0,0 +1,11 @@
// Tests that `clippy::all` still works without a deprecation warning
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to intrude, but why don't you want a deprecation warning?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's starting as a soft deprecation since it's very widely used, it may eventually become a warning

Copy link
Member

@flip1995 flip1995 Apr 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not deprecate it. I don't think it is ever worth to do so. I think clippy::all is older than 5 years by now. It will take at least the same amount of time until clippy::default is used in more places than clippy::all, I would think. So maybe really really long-term, we can deprecate it. But that might even be the decision of a different set of people by then.

Plus, I don't see any downsides in keeping it.

Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Giving @rust-lang/clippy @rust-lang/clippy-contributors until the end of the week to still raise concerns (as there's no going back realistically). But I think everyone is on-board with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants