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

Rename inconsistent_struct_constructor configuration; don't suggest deprecated configurations #14280

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

smoelius
Copy link
Contributor

This PR does two things:

  • It renames inconsistent_struct_constructor's configuration from lint-inconsistent-struct-field-initializers to check-inconsistent-struct-field-initializers. (I should have suggested check-... in #13737.)
  • It causes Clippy to no longer suggest deprecated configurations. (Previously, Clippy would suggest cyclomatic-complexity-threshold, for example.)

r? @y21

changelog: Rename lint-inconsistent-struct-field-initializers to check-inconsistent-struct-field-initializers
changelog: No longer suggest deprecated configurations

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 23, 2025
@smoelius smoelius force-pushed the lint-to-check branch 2 times, most recently from 0c3200f to 79e5125 Compare March 4, 2025 10:40
Copy link
Member

@y21 y21 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@y21 y21 added this pull request to the merge queue Mar 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 8, 2025
@smoelius
Copy link
Contributor Author

smoelius commented Mar 8, 2025

I can reproduce the failure locally. I will look into fixing it.

EDIT: 🤞

EDIT 2: 😀

@smoelius
Copy link
Contributor Author

@y21 I just rebased this again. Do you think you could please try merging again?

@y21 y21 added this pull request to the merge queue Mar 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 24, 2025
@smoelius
Copy link
Contributor Author

Sorry, my rebase left off one commit. Could you please try merging one more time?

@y21 y21 added this pull request to the merge queue Mar 25, 2025
Merged via the queue into rust-lang:master with commit d88818d Mar 25, 2025
11 checks passed
@smoelius
Copy link
Contributor Author

Thanks!

@smoelius smoelius deleted the lint-to-check branch March 25, 2025 12:21
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.

3 participants