-
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
Fixes #53119. #53186
Fixes #53119. #53186
Conversation
// `ClosureOutlivesRequirement`. | ||
let r_scc = self.constraint_sccs.scc(*lower_bound); | ||
for ur in self.scc_values.universal_regions_outlived_by(r_scc) { | ||
let non_local_ub = self.universal_region_relations.non_local_upper_bound(ur); |
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.
I cannot use non_local_universal_upper_bound
because it returns 'static
for '_#5r
from your comment in the issue
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 fine
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.
Nice! Left a nit requesting a new comment.
!self | ||
// For each region outlived by lower_bound find a non-local, | ||
// universal region (it may be the same region) and add it to | ||
// `ClosureOutlivesRequirement`. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@bors r+ p=1 This is a RC blocker for NLL. |
📌 Commit e5f32ef has been approved by |
Fixes rust-lang#53119. Fixes rust-lang#53119. I minimized sample little bit more, but I checked the sample from issue too. r? @nikomatsakis
Fixes #53119. Fixes #53119. I minimized sample little bit more, but I checked the sample from issue too. r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
Fixes #53119.
I minimized sample little bit more, but I checked the sample from issue too.
r? @nikomatsakis