-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
assertion failed: !projection_ty.has_escaping_regions() from astconv #27901
Comments
We should just not normalize in that case as we usually do. Relavant code: We should use |
What needs to be done to fix this? |
Is this really an easy bug? If so, could you leave some pointers on where to start looking to fix this? |
Add a check to |
And what should they return instead of the normalized type? |
the unnormalized type, as we do in all other cases involving escaping regions. |
Updated the fixing instructions above to reflect this |
I'm experiencing this error in In the meantime, is there a set of rules I can follow to prevent the compiler from ICEing? |
Fixes rust-lang#27901. Fixes rust-lang#28828. Fixes rust-lang#38135. Fixes rust-lang#39363.
STR
ICE
The text was updated successfully, but these errors were encountered: