-
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: Region parameter out of range when substituting in region 'b (index=4) #100187
Comments
@rustbot claim |
I've just hit it independently: trait Trait<T> { type Ty; }
impl Trait<&u8> for () { type Ty = (); }
fn test<'a, 'b>() -> impl Trait<&'a u8, Ty = impl Sized + 'b> {} Regressed in f6f9d5e..affe0d3, most likely #99867. cc @spastorino. @rustbot label A-impl-trait regression-from-stable-to-nightly |
interesting, so this does neither require async nor |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium EDIT: after further discussion |
Code
reduced from
src/test/rustdoc/async-fn.rs
Meta
rustc --version --verbose
:Error output
rustc ./async-fn.rs -Zsave-analysis --edition=2021 --crate-type lib
Backtrace
The text was updated successfully, but these errors were encountered: