-
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 when working with infinitely nesting types and ?-operator #92004
Comments
We're incorrectly invoking I suspect that this is related to the overflow, and could be solved by skipping |
Triage: Fixed by #100757, I think it has a regression test that should cover this case, closing. |
Reopened by #104610 |
This now overflows with an error. |
This crashes again 🤣 |
another regression of #122568 |
Ah this is where I got the code of #122823 from lol |
Code
I've hacked it down from an advent of code solution. When
is replaced with u32 literals the compiler emits a (correct) compilation error due to infinitely nesting types.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: