-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Create different inference variables for different defining uses of TAITs #86118
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 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
aa7024b
Add VecMap to rustc_data_structures
spastorino 2bc723f
Change opaque type map to be a `VecMap`
spastorino 3405725
Change concrete opaque type to be a `VecMap`
spastorino 7f8cad2
Make OpaqueTypeKey the key of opaque types map
spastorino 7294f49
Remove ResolvedOpaqueTy and just use Ty, SubstsRef is already there
spastorino 37ab718
Make opaque type map key be of type OpaqueTypeKey
spastorino 5dabd55
Use substs from opaque type key instead of using it from opaque_decl
spastorino e386373
Remove substs from OpaqueTypeDecl, use the one in OpaqueTypeKey
spastorino 9e547b4
Differentiate different defining uses of taits when they reference di…
spastorino c80d062
Add more TAIT multiple defining uses test cases
spastorino dd56ec6
Add VecMap::get_by(FnMut -> bool)
spastorino 1278f3f
Simplify code by using VecMap::get_by
spastorino f07412d
Destructure OpaqueTypeKey in certain cases to simplify code
spastorino ecd78e9
defin_ty_def_id -> definition_ty_def_id
spastorino 0ad09f9
Do not deconstruct OpaqueTypeKey to make the code more clear
spastorino ed94da1
Explicitly pass find arguments down the predicate so coercions can apply
spastorino cad762b
Use impl FnMut directly as predicate type
spastorino 7b1e1c7
add VecMap docs
spastorino 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
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.