-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE: can't find an upper bound
in nll::compute_regions in rustc_borrowck
#122704
Comments
Regression in nightly-2022-06-08 probably 95565 ? cc @jackh726 |
That PR removed NLL's migrate mode, so maybe the bisection could go further back with with |
can't find an upper bound
in nll::compute_regions in rustc_borrowck
fourth attempt or so... Regression in nightly-2019-03-14 looking for regression commit between 2019-03-13 and 2019-03-14 maybe #59132 ? |
Minimized: trait IsStatic: 'static {}
impl<T: 'static> IsStatic for T {}
fn foo<T>(x: Box<T>) -> Box<dyn for<'a> FnOnce(&'a ()) -> Box<dyn IsStatic + 'a>> {
Box::new(move |_| x)
} Error output
Identical to #125891 except for having |
Code
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: