-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
GAT ICE: dtorck encountered internal error #91985
Comments
additional notes: adding |
So...uh yeah. Something is wrong here. This playground doesn't work: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=d4ac99ec4e25ef340002727b453c5d5c That doesn't use GATs, just normal associated types. The impl definition doesn't error for a missing I was scared for a bit that this would be in someway unsound, but it's not. |
Okay, so probably the right solution is to make Unfortunately, it's not as simple as "just make this change". I think either way we run into potential issues. With the above changes, this test passes. But 2 other tests start failing and one has additional errors:
|
GATs issue triage: not blocking. From above, this is a more general bug with associated types. Not an backwards-incompatibility hazard. |
Takes crash tests from rust-lang#135039, rust-lang#103899, rust-lang#91985 and rust-lang#105299 and turns them into ui tests
Takes crash tests from rust-lang#135039, rust-lang#103899, rust-lang#91985 and rust-lang#105299 and turns them into ui tests
Takes crash tests from rust-lang#135039, rust-lang#103899, rust-lang#91985 and rust-lang#105299 and turns them into ui tests
The issue appeared when following and using the TypeFamily pattern:
Code
Playground link
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: