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

Swap Visitors to early exit, instead of storing poison flag #13654

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

GnomedDev
Copy link
Contributor

I noticed that a bunch of visitors had a poison or success field, when they could just be returning ControlFlow.

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Nov 4, 2024

r? @Alexendoo

rustbot has assigned @Alexendoo.
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 Nov 4, 2024
@Alexendoo
Copy link
Member

Good catch, thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Nov 5, 2024

📌 Commit 44c2a82 has been approved by Alexendoo

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Nov 5, 2024

⌛ Testing commit 44c2a82 with merge 6631a2c...

@bors
Copy link
Contributor

bors commented Nov 5, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Alexendoo
Pushing 6631a2c to master...

@bors bors merged commit 6631a2c into rust-lang:master Nov 5, 2024
8 checks passed
@GnomedDev GnomedDev deleted the early-exit-visitors branch November 5, 2024 17:57
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