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

Similar names ignore underscore prefixed names #6403

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

camsteffen
Copy link
Contributor

changelog: Ignore underscore-prefixed names for similar_names

IMO, this lint is not very helpful for underscore-prefixed variables. Usually they are unused or are just there to ignore part of a destructuring.

@rust-highfive
Copy link

r? @Manishearth

(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 Nov 30, 2020
Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

r=me with a comment

clippy_lints/src/non_expressive_names.rs Show resolved Hide resolved
@camsteffen camsteffen force-pushed the similar-names-underscore branch from 7cfb069 to 5c24c73 Compare November 30, 2020 15:18
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Nov 30, 2020

📌 Commit 5c24c73 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Nov 30, 2020

⌛ Testing commit 5c24c73 with merge 7765bb7...

bors added a commit that referenced this pull request Nov 30, 2020
Similar names ignore underscore prefixed names

changelog: Ignore underscore-prefixed names for similar_names

IMO, this lint is not very helpful for underscore-prefixed variables. Usually they are unused or are just there to ignore part of a destructuring.
@bors
Copy link
Contributor

bors commented Nov 30, 2020

💔 Test failed - checks-action_dev_test

@camsteffen camsteffen force-pushed the similar-names-underscore branch from 5c24c73 to f2d4935 Compare January 12, 2021 20:21
@camsteffen
Copy link
Contributor Author

@bors r=Manishearth

Let's see if bors likes me.

@bors
Copy link
Contributor

bors commented Jan 22, 2021

@camsteffen: 🔑 Insufficient privileges: Not in reviewers

@camsteffen
Copy link
Contributor Author

@bors sudo r+

@Manishearth
Copy link
Member

@bors delegate+ r+

it's per-PR :)

@bors
Copy link
Contributor

bors commented Jan 22, 2021

✌️ @camsteffen can now approve this pull request

@bors
Copy link
Contributor

bors commented Jan 22, 2021

📌 Commit f2d4935 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Jan 22, 2021

⌛ Testing commit f2d4935 with merge 70386ff...

@bors
Copy link
Contributor

bors commented Jan 22, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Manishearth
Pushing 70386ff to master...

@bors bors merged commit 70386ff into rust-lang:master Jan 22, 2021
@camsteffen camsteffen deleted the similar-names-underscore branch July 8, 2021 22:01
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