Skip to content

Use the local cache for trait selection in all non-empty environments #22028

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

Merged
merged 1 commit into from
Feb 10, 2015

Conversation

nikomatsakis
Copy link
Contributor

Simplify cache selection by just using the local cache whenever there
are any where-clauses at all. This seems to be the simplest possible
rule and will (hopefully!) put an end to these annoying "cache leak"
bugs. Fixes #22019.

r? @aturon

are any where-clauses at all. This seems to be the simplest possible
rule and will (hopefully!) put an end to these annoying "cache leak"
bugs. Fixes rust-lang#22019.
@aturon
Copy link
Member

aturon commented Feb 9, 2015

@bors: r+ acaad3a

bors added a commit that referenced this pull request Feb 10, 2015
Simplify cache selection by just using the local cache whenever there
are any where-clauses at all. This seems to be the simplest possible
rule and will (hopefully!) put an end to these annoying "cache leak"
bugs. Fixes #22019.

r? @aturon
@bors
Copy link
Collaborator

bors commented Feb 10, 2015

⌛ Testing commit acaad3a with merge 88d8ba5...

@bors bors merged commit acaad3a into rust-lang:master Feb 10, 2015
@nikomatsakis nikomatsakis deleted the issue-22019-caching branch March 30, 2016 16:14
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.

Cache failure when environment contains predicates with free lifetimes
3 participants