Skip to content

Use ControlFlow in visitors.#121563

Merged
bors merged 2 commits intorust-lang:masterfrom
Jarcho:use_cf
Mar 8, 2024
Merged

Use ControlFlow in visitors.#121563
bors merged 2 commits intorust-lang:masterfrom
Jarcho:use_cf

Conversation

@Jarcho
Copy link
Copy Markdown
Contributor

@Jarcho Jarcho commented Feb 24, 2024

Follow up to #121256

This does have a few small behaviour changes in some diagnostic output where the visitor will now find the first match rather than the last match. The change in find_anon_types.rs has the only affected test. I don't see this being an issue as the last occurrence isn't any better of a choice than the first.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants