Skip to content

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

Merged
merged 6 commits into from
Jan 22, 2018
Merged

Conversation

nikomatsakis
Copy link
Contributor

@nikomatsakis nikomatsakis commented Jan 11, 2018

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

@shepmaster shepmaster added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 13, 2018
@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 16, 2018

📌 Commit ea742a4 has been approved by pnkfelix

@pnkfelix pnkfelix added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 16, 2018
@nikomatsakis
Copy link
Contributor Author

@bors r=pnkfelix

@bors
Copy link
Collaborator

bors commented Jan 19, 2018

📌 Commit bca536d has been approved by pnkfelix

@nikomatsakis
Copy link
Contributor Author

@nikomatsakis
Copy link
Contributor Author

@bors r=pnkfelix

The final commit is actually r=me.

@bors
Copy link
Collaborator

bors commented Jan 19, 2018

📌 Commit 3d3c75a has been approved by pnkfelix

@nikomatsakis
Copy link
Contributor Author

@bors r-

travis is unhappy, something with mir-opt tests

@nikomatsakis
Copy link
Contributor Author

@bors r=pnkfelix+nmatsakis

@bors
Copy link
Collaborator

bors commented Jan 20, 2018

📌 Commit 8f2cc02 has been approved by pnkfelix+nmatsakis

@bors
Copy link
Collaborator

bors commented Jan 22, 2018

⌛ Testing commit 8f2cc02 with merge fdc18b3...

bors added a commit that referenced this pull request Jan 22, 2018
…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
@bors
Copy link
Collaborator

bors commented Jan 22, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: pnkfelix+nmatsakis
Pushing fdc18b3 to master...

@bors bors merged commit 8f2cc02 into rust-lang:master Jan 22, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NLL] yield-subtype.rs test ICEs Borrow Checker (?) panics
5 participants