-
Couldn't load subscription status.
- Fork 13.9k
[beta] backports #37239
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
[beta] backports #37239
Conversation
Associated type normalization is inhibited by higher-ranked regions. Therefore, every time we erase them, we must re-normalize. I was meaning to introduce this change some time ago, but we used to erase regions in generic context, which broke this terribly (because you can't always normalize in a generic context). That seems to be gone now. Ensure this by having a `erase_late_bound_regions_and_normalize` function. Fixes rust-lang#37109 (the missing call was in mir::block).
|
r? @Aatch (rust_highfive has picked a reviewer for you, use r? to override) |
|
cc @rust-lang/compiler can you review the linked PRs and see if they are appropriate for beta? If so I will also include them in the stable backport. |
|
@brson r+ looks good to me, should I just merge? |
|
@nikomatsakis thanks, yeah just merge, but i'll get it |
Backports of
Don't merge until both are accepted.