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

Issue 7548 fix #7605

Merged
merged 4 commits into from
Aug 31, 2021
Merged

Issue 7548 fix #7605

merged 4 commits into from
Aug 31, 2021

Conversation

xordi
Copy link
Contributor

@xordi xordi commented Aug 26, 2021

Close #7548

changelog: [bool_assert_comparison] fixes should be emitted only in case they are comparing a value of a type that implements the Not trait with an output of type bool against a boolean literal.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @giraffate (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 26, 2021
Copy link
Contributor

@giraffate giraffate left a comment

Choose a reason for hiding this comment

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

Sorry for the late review.

Overall looks good! I made some comments for variable names.

@giraffate giraffate added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Aug 31, 2021
@xordi
Copy link
Contributor Author

xordi commented Aug 31, 2021

Thanks for the review @giraffate! I've made the changes you suggested in the naming.

@giraffate
Copy link
Contributor

@bors r+

It looks good, thanks!

@bors
Copy link
Contributor

bors commented Aug 31, 2021

📌 Commit 83f1454 has been approved by giraffate

@bors
Copy link
Contributor

bors commented Aug 31, 2021

⌛ Testing commit 83f1454 with merge 87c375f...

@bors
Copy link
Contributor

bors commented Aug 31, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 87c375f to master...

@bors bors merged commit 87c375f into rust-lang:master Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bool_assert_comparison false positive when one side is non-bool with PartialEq<bool> impl
4 participants