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

Don't call instantiate_type_scheme during method probing #26282

Merged
merged 2 commits into from
Jun 15, 2015

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Jun 13, 2015

It can introduce obligations to the fulfillment context, which would
incorrectly still remain after the probe finished.

Fixes #25679.

r? @eddyb

@arielb1
Copy link
Contributor Author

arielb1 commented Jun 13, 2015

r? @nikomatsakis

@rust-highfive rust-highfive assigned nikomatsakis and unassigned eddyb Jun 13, 2015
arielb1 added 2 commits June 15, 2015 18:27
It can introduce obligations to the fulfillment context, which would
incorrectly still remain after the probe finished.

Fixes rust-lang#25679.
@nikomatsakis
Copy link
Contributor

These changes definitely emphasize the need to reshuffle our contexts around, so that we can manage all the state in one transaction. @jroesch is doing some of the starting work on that right now.

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jun 15, 2015

📌 Commit 6cdccc5 has been approved by nikomatsakis

arielb1 pushed a commit to arielb1/rust that referenced this pull request Jun 15, 2015
This adds transaction support to fulfill. I can't use it in rust-lang#26282
because that would require nested transactions.

This doesn't seem to cause compilation time to regress.

Fixes rust-lang#24819.
@bors
Copy link
Contributor

bors commented Jun 15, 2015

⌛ Testing commit 6cdccc5 with merge c656e99...

bors added a commit that referenced this pull request Jun 15, 2015
It can introduce obligations to the fulfillment context, which would
incorrectly still remain after the probe finished.

Fixes #25679.

r? @eddyb
@bors bors merged commit 6cdccc5 into rust-lang:master Jun 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants