-
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
Encountering the type length limit ICEs Miri #127699
Comments
Seems like this leads to a
Miri bails out on TooGeneric since it knows everything is monomorphized. (codegen does the same.) Does the type length limit cause TooGeneric errors? That would IMO be a wrong use of that error code, precisely because we have users that know that things are not generic any more so we should be able to distinguish errors they can see (like this type length limit) and errors they cannot see (like failing to compute the layout of a type due to generics). |
I could reproduce this on:
but could no longer reproduce on:
Is this resolved? |
Sounds resolved to me. If I manage to trip this again I'll file a new issue. Thanks for the gardening! |
I can still reproduce the issue with the command See #127670 Maybe this should be reopened? |
Ah makes sense. I didn't use |
The following program ICEs Miri when invoked with
-Zenforce-type-length-limit
:Miri reports:
I'm filing this here because I'm pretty sure the problem is that the core interpreter logic does not handle the new failure path out of
Instance::try_resolve
correctly.The text was updated successfully, but these errors were encountered: