-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
rework opaque type region inference #116891
Merged
bors
merged 12 commits into
rust-lang:master
from
aliemjay:opaque-region-infer-rework-2
Mar 28, 2024
Merged
rework opaque type region inference #116891
bors
merged 12 commits into
rust-lang:master
from
aliemjay:opaque-region-infer-rework-2
Mar 28, 2024
+879
−345
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92f40b8 - Browse repository at this point
Copy the full SHA 92f40b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e1999d - Browse repository at this point
Copy the full SHA 4e1999dView commit details
Commits on Mar 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4ecdf5f - Browse repository at this point
Copy the full SHA 4ecdf5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c337825 - Browse repository at this point
Copy the full SHA c337825View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce91e46 - Browse repository at this point
Copy the full SHA ce91e46View commit details -
favor placeholders over existentials when choosing SCC representatives
... even when the existential has the least RegionVid. universal regions (of root universe) > placeholders > existentials The previous behavior, that chooses the minimal RegionVid index, naturally prefers universal regions over others because they always have the least RegionVids, but there was no guranteed ordering between placeholders and existentials.
Configuration menu - View commit details
-
Copy full SHA for 15c7e59 - Browse repository at this point
Copy the full SHA 15c7e59View commit details -
convert all named regions in opaque types to nll vars
Do it in typeck before entering region inference routines particularly because we will no longer be able to convert placeholders.
Configuration menu - View commit details
-
Copy full SHA for 08c8caa - Browse repository at this point
Copy the full SHA 08c8caaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4940e4 - Browse repository at this point
Copy the full SHA f4940e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b6ed2e - Browse repository at this point
Copy the full SHA 6b6ed2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6876f - Browse repository at this point
Copy the full SHA 7c6876fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb35156 - Browse repository at this point
Copy the full SHA fb35156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c217f - Browse repository at this point
Copy the full SHA 59c217fView 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.