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

[fn_params_excessive_bools] Make it possible to allow the lint at the method level #9698

Merged
merged 7 commits into from
Nov 13, 2022

Conversation

kraktus
Copy link
Contributor

@kraktus kraktus commented Oct 23, 2022

changelog: FP: [fn_params_excessive_bools]: #[allow] now works on methods

fix #9687

Tested without committing but #[allow]ing now works. Also rewrote the lint to be a late lint while at it :)
r? @xFrednet

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 23, 2022
@bors
Copy link
Contributor

bors commented Oct 28, 2022

☔ The latest upstream changes (presumably #9733) made this pull request unmergeable. Please resolve the merge conflicts.

@xFrednet
Copy link
Member

xFrednet commented Oct 28, 2022

Sorry, I missed this over the week, it has been pretty chaotic. I should have a bit more time over the coming weeks. This is on my priority list for this weekend, so you'll have a review by Sunday. You can still rebase :)

Tested without committing but #[allow]ing now works. Also rewrote the lint to be a late lint while at it :)

You are welcome to commit that as well, more tests rarely hurt :)

Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

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

Excellent work! Only one remark regarding traits. Thank you!

Oh and as said, you're welcome to commit the test for the ticket as well, just to be sure that it never comes up again :)

@xFrednet
Copy link
Member

Looks good to me, thank you for the fix!

@bors r+

@bors
Copy link
Contributor

bors commented Nov 13, 2022

📌 Commit 3d4b73c has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Nov 13, 2022

⌛ Testing commit 3d4b73c with merge a815140...

@bors
Copy link
Contributor

bors commented Nov 13, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing a815140 to master...

@bors bors merged commit a815140 into rust-lang:master Nov 13, 2022
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.

#[allow(clippy::fn_params_excessive_bools)] doesn't work on methods
4 participants