-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Implementation of RFC 2289 (associated_type_bounds) #57428
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
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
35585c4
Aggregation of drive-by cosmetic changes.
alexreg dce27cb
Enabled `Self` in type aliases.
alexreg 3816958
Implemented for function bounds, type bounds, and named existential t…
alexreg aaa53ec
Implemented for traits (associated type definitions).
alexreg 01f49f0
Use both existential-type desugaring and where-clause (predicate) des…
alexreg cad1b18
Added feature gate.
alexreg 4310ba2
Added test suite.
alexreg a71d557
Addressed points raised in review.
alexreg 0f4a5ca
Added some comments to lowering code.
nikomatsakis 538ebd1
Added some comments, made `add_bounds` private.
nikomatsakis 5bf5994
Fixed up some comments.
alexreg f472cd9
Addressed points raised in review.
nikomatsakis c105c28
Fixed rebase fallout.
alexreg 10b6daa
Reblessed tests.
alexreg 2cdd7f8
Removed unnecessary nested-lifetime-bounds test.
alexreg 963e22c
added a few comments
nikomatsakis 049f4d8
document the `Bounds` struct a bit
alexreg f6ee542
make `instantiate_poly_trait_ref_inner` private to this module
nikomatsakis 83078f0
comment `instantiate_poly_trait_ref` and its binder behavior
nikomatsakis 18d5085
more comments
nikomatsakis e48dd12
another comment
nikomatsakis a900427
verified that skip-binder is ok
nikomatsakis e37a7a1
add an example to `create_substs_for_ast_path`
alexreg ee89033
Reblessed tests with NLL compare mode on.
alexreg 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 hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.