-
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
Overflowed stack #105656
Comments
I can reproduce this on the playground when using nightly, but not locally. |
It is the created binary that crashes, not the rustc process. It can be explained by the fact that there is a recursive call in the |
That explains why I couldn't reproduce it locally 😅 I didn't run the executable. Only rustc. |
I know that in general it is a problem of recursive call. I was just confused by the silent compilation. The compiler didn't even warn that there was a recursive call of the same function. |
The bug may be this, that there is no diagnostic concerning this unconditional recursion. @rustbot label +A-diagnostics +D-terse |
I think this can be closed as a duplicate of #98217 |
I tried this code:
I expected to see this happen:
Instead, this happened:
The text was updated successfully, but these errors were encountered: