-
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
introduce universes to NLL type check #52488
Merged
bors
merged 31 commits into
rust-lang:master
from
nikomatsakis:nll-issue-48071-universe-and-sub
Jul 26, 2018
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a54401e
implement `Step` for `Idx` types
nikomatsakis 145155d
parameterize `BitVector` and `BitMatrix` by their index types
nikomatsakis 40498ba
simplify `NLLRegionVariableOrigin`
nikomatsakis 3f0fb4f
split into two matrices
nikomatsakis 71fef95
SparseBitMatrix: add `ensure_row` helper fn
nikomatsakis 7c74518
SparseBitMatrix: add `insert_all` and `add_all` methods
nikomatsakis 52c94e9
remove inefficiency for adding all points
nikomatsakis 4fce59f
remove unnecessary `blame_span` from `report_region_errors`
nikomatsakis 9ba4d33
rewrite the "constraint graph search" to use a BFS instead of a DFS
nikomatsakis 078220d
extract a `best_blame_constraint` helper
nikomatsakis 92786a4
consolidate and use `find_sub_region_live_at` for everything
nikomatsakis f277b39
generate extra liveness constraints before regioncx is created
nikomatsakis 2fda456
extract `region_value_str` helper
nikomatsakis 2584216
represent `LivenessValues` with a specialized type
nikomatsakis b913df0
remove `num_universal_regions` etc from RegionValueElements
nikomatsakis d9afd2b
introduce new subtyping
nikomatsakis 2acc3e7
add regression test for #48071
nikomatsakis fa69e21
[3f0fb4f7] improve comment on `to_location`
nikomatsakis 76991ea
[WIP] debug logs in error-reporting
nikomatsakis 0d918a8
improve heuristics for what makes an interesting constraint
nikomatsakis e43096f
[nit] remove outdated comment
nikomatsakis d85a7da
Nit: fix Debug impl of `PlaceholderIndex`
nikomatsakis 3171cbe
Nit: improve Binders comment in `relate_tys`
nikomatsakis 21e4a08
Nit: improve comment in hr-fn-aau-eq-abu.rs
nikomatsakis 118cad1
ignore code example in comment
nikomatsakis 9f09127
fix reference file
nikomatsakis 687f252
move mir_check_* to ui tests, add adjusted references
nikomatsakis fe34c90
patch up mir-opt tests
nikomatsakis 5c603e8
convert tests of `BitVector` to use `BitVector<usize>`
nikomatsakis d376a6b
add type parameters to `BitMatrix` and `SparseBitMatrix` unit tests
nikomatsakis ce576ac
fix `sparse_matrix_iter` unit test
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
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.
weird, why did this happen?
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.
Uh..I have no idea. I should revert that.
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.
seems like that did not happen... the downgrade landed.
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.
Submitted fix as #52779