-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
replace the leak check with universes, take 2 #65232
Merged
bors
merged 10 commits into
rust-lang:master
from
nikomatsakis:lazy-norm-anon-const-push-2
Feb 8, 2020
Merged
replace the leak check with universes, take 2 #65232
bors
merged 10 commits into
rust-lang:master
from
nikomatsakis:lazy-norm-anon-const-push-2
Feb 8, 2020
Commits on Feb 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 82c1435 - Browse repository at this point
Copy the full SHA 82c1435View commit details -
add a
IsEmpty
for use in verified boundsWe currently have a kind of arbitrary check for `Verify` conditions which says that if the "test region" is `'empty`, then the check passes. This was added to fix rust-lang#42467 -- it happens to be correct for the purposes that we use verify bounds for, but it doesn't feel generally correct. Replace with a more principled test.
Configuration menu - View commit details
-
Copy full SHA for 65fc086 - Browse repository at this point
Copy the full SHA 65fc086View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03b2fff - Browse repository at this point
Copy the full SHA 03b2fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for b52414f - Browse repository at this point
Copy the full SHA b52414fView commit details -
We now make `'empty` indexed by a universe index, resulting in a region lattice like this: ``` static ----------+-----...------+ (greatest) | | | early-bound and | | free regions | | | | | scope regions | | | | | empty(root) placeholder(U1) | | / | | / placeholder(Un) empty(U1) -- / | / ... / | / empty(Un) -------- (smallest) ``` Therefore, `exists<A> { forall<B> { B: A } }` is now unprovable, because A must be at least Empty(U1) and B is placeholder(U2), and hence the two regions are unrelated.
Configuration menu - View commit details
-
Copy full SHA for 534f044 - Browse repository at this point
Copy the full SHA 534f044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bc79c9 - Browse repository at this point
Copy the full SHA 6bc79c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0197f - Browse repository at this point
Copy the full SHA 5e0197fView commit details -
add the ability to skip leak check within a snapshot
The intention is that coherence code will skip the leak check and determine whether two impls *would have* overlapped, and then issue a warning.
Configuration menu - View commit details
-
Copy full SHA for e9c7894 - Browse repository at this point
Copy the full SHA e9c7894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 363faba - Browse repository at this point
Copy the full SHA 363fabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3c66d - Browse repository at this point
Copy the full SHA 4b3c66dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.