-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[WIP] remove Location::All
#50938
Closed
nikomatsakis
wants to merge
7
commits into
rust-lang:master
from
nikomatsakis:nll-alias-analysis-no-loc-all
Closed
[WIP] remove Location::All
#50938
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1b10566
remove `point` from outlives
nikomatsakis cbdb330
remove point from `TypeTest`
nikomatsakis 09df848
add a `span` method to `Locations`
nikomatsakis 9d40370
kill `Locations::All` and move towards specific locations
nikomatsakis 9a34822
replace `universal_region` with adding entries to `region_live_at`
nikomatsakis 3ff3116
make Return terminators "use" the `RETURN_PLACE`
nikomatsakis fd78a2f
update tests with new error messages (mostly worse, I'm afraid)
nikomatsakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I right in my understanding that one side-effect of no longer passing
at_location
intoadd_outlives
is that our diagnostics stop being able to point to this location as the place where a particular constraint was introduced, which is what is leading to problems like the regression in diagnostic quality for e.g. a904c55#diff-40124ba66f06953794b406e3bb131b95L6 ?)(And if that hypothesis is correct, is your thinking that we're going to have to solve that problem more generally anyway, perhaps as part of #51188, but that finding a solution to that problem should not block landing PR's like this one?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @nikomatsakis do you have an answer to my Q above ?