-
Notifications
You must be signed in to change notification settings - Fork 13.3k
renumber regions in generators #47353
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
This doesn't actually fix the bug, but seems better.
@bors r+ |
📌 Commit ea742a4 has been approved by |
@bors r=pnkfelix |
📌 Commit bca536d has been approved by |
8279632
to
3593780
Compare
@bors r=pnkfelix The final commit is actually r=me. |
📌 Commit 3d3c75a has been approved by |
@bors r- travis is unhappy, something with mir-opt tests |
3d3c75a
to
8f2cc02
Compare
@bors r=pnkfelix+nmatsakis |
📌 Commit 8f2cc02 has been approved by |
…akis renumber regions in generators This fixes #47189, but I think we still have to double check various things around how to treat generators in MIR type check + borrow check (e.g., what borrows should be invalidated by a `Suspend`? What consistency properties should type check be enforcing anyway around the "interior" type?) Also fixes #47587 thanks to @spastorino's commit. r? @pnkfelix
☀️ Test successful - status-appveyor, status-travis |
This fixes #47189, but I think we still have to double check various things around how to treat generators in MIR type check + borrow check (e.g., what borrows should be invalidated by a
Suspend
? What consistency properties should type check be enforcing anyway around the "interior" type?)Also fixes #47587 thanks to @spastorino's commit.
r? @pnkfelix