-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Lifetime resolution in generic assoc types makes rustc panic #46793
Comments
cc @sunjay |
Hi, |
Thanks a lot. @mcobzarenco Seems this issue can be closed? |
I just ran into the same issue. I think it should not be closed until it's actually fixed 😉 |
I got same error trying to compile openssl crate with beta compiler
|
In case it's not exactly the same issue, I have the same kind of error but with a type parameter instead of a lifetime parameter: https://play.rust-lang.org/?gist=368fe46eed85670e35b876bf1c4c95d3&version=nightly #![feature(generic_associated_types)]
trait Foo { type Bar<T>; }
struct Lol;
impl Foo for Lol { type Bar<T> = T; } |
Duplicate of #47309. Closing this one. |
I wanted to try out the new lifetime resolution in generic associated types merged in #46706.
The above makes
rustc
panic(rustc version above)
Is this expected behaviour for now?
The text was updated successfully, but these errors were encountered: