Skip to content

Rename two lints to comply with our lint naming convention #7504

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

Merged
merged 1 commit into from
Jul 29, 2021

Conversation

flip1995
Copy link
Member

self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain

We don't need to register_renamed those lints, since I'll backport them to beta, so the old names won't hit stable.

changelog: none
(I'll adapt the changelog before merging #7498)

self_named_constructor -> self_named_constructors
append_instead_of_extend -> extend_with_drain
@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 29, 2021
@flip1995
Copy link
Member Author

Those new names were discussed and agreed upon on Zulip: https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Misnamed.20lint.20.60append_instead_of_extend.60/near/247352538

So merging myself

@bors r+

@bors
Copy link
Contributor

bors commented Jul 29, 2021

📌 Commit 54e5391 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Jul 29, 2021

⌛ Testing commit 54e5391 with merge 0cce3f6...

@bors
Copy link
Contributor

bors commented Jul 29, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 0cce3f6 to master...

@bors bors merged commit 0cce3f6 into rust-lang:master Jul 29, 2021
@flip1995 flip1995 deleted the rename-lints branch July 29, 2021 11:11
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.

4 participants