-
Couldn't load subscription status.
- Fork 13.9k
Fix generator miscompilations #69302
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
Conversation
src/librustc/mir/visit.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this reordering matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't seem to matter from what I've seen, but it aligns the order of Yield with the one for Call. That seems less surprising to me.
|
@bors r+ |
|
📌 Commit fc2702c has been approved by |
|
☀️ Test successful - checks-azure |
Fixes #69039
r? @Zoxc