-
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
Rustc builds forever due to infinite recursion error #74201
Comments
Looks like this happens during section from running this test with
|
The Returning early after detecting a cycle or when type is non-representable avoids reported issue, although I am not sure if any of those would be a right solution. |
This is the same as #79437 (as mentioned in #79437 (comment)), which is now fixed. I confirmed that the particular case in this issue is fixed now too. EDIT: This isn't a duplicate: the other one was! |
I tried this code:
I expected to see this happen:
Instead, this happened:
Rustc never aborts. It gets stuck in compilation limbo.
Meta
rustc --version --verbose
:No backtrace summary available as compilation never ends.
The text was updated successfully, but these errors were encountered: