-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: index out of bounds, snapshot vec #122823
Comments
This used to
|
The ICE is somewhere in resolve_drop_in_place... we're just calling that more often, but I don't think in any way that would be wrong? Not sure what's happening here. |
Yeah there is a class of overflow errors that dont end up reporting errors but end up returning unconstrained infer vars, which end up escaping snapshots and causing explosions. I don't have an example issue number, but I can find it when I'm at my desk. |
previous attempt to catch overflows in projection resulted in: #104610 |
Ah so this is a stack overflow?
I was already wondering why there is no overflow guard in this recursive call in the collector... In exchange there is an overflow guard in a non recursive call, and some special magic recursion limit handling I do not understand.
|
This is not a stack overflow. This is an overflow in the trait solver, i.e. we've needed to compute a nested |
Ah okay. I don't think I understand why that would regress with my PR... In unoptimized builds it should do the same kind of trait resolutions as before. Strange.
|
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: