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

Dedup nonminimal_bool_methods diags #12845

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

cookie-s
Copy link
Contributor

@cookie-s cookie-s commented May 25, 2024

Relates to #12379

Fix nonminimal_bool lint so that it doesn't check the same span multiple times.

NotSimplificationVisitor was called for each expression from NonminimalBoolVisitor whereas NotSimplificationVisitor also recursively checked all expressions.


changelog: [nonminimal_bool]: Fix duplicate diagnostics

@rustbot
Copy link
Collaborator

rustbot commented May 25, 2024

r? @Jarcho

rustbot has assigned @Jarcho.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 25, 2024
@cookie-s cookie-s marked this pull request as ready for review May 25, 2024 02:35
@cookie-s cookie-s changed the title Dedup boolmethods diags Dedup nonminimal_bool_methods diags May 25, 2024
@Jarcho
Copy link
Contributor

Jarcho commented Jun 5, 2024

Thank you. @bors r+

@bors
Copy link
Contributor

bors commented Jun 5, 2024

📌 Commit b6350e9 has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 5, 2024

⌛ Testing commit b6350e9 with merge bc00d7b...

@bors
Copy link
Contributor

bors commented Jun 5, 2024

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

@bors bors merged commit bc00d7b into rust-lang:master Jun 5, 2024
5 checks passed
@cookie-s cookie-s deleted the dedup-boolmethods-diags branch June 8, 2024 23:54
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