-
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
Unexpected region for local data ReStatic #49579
Comments
Still an ICE. Adding as Preview 2 but I'm not sure the cause yet. |
Successfully compiles now that we don't run AST borrowck when we don't need to. This code compiles because the closure is promoted to a |
I see, I see. Yes, that is expected to be exposed to the user. |
I guess we can close this then as Working as Expected. Nice job @spastorino, you get the credit for fixing this one :) |
Er, I'll leave open because (as @matthewjasper noted) we still need a test |
Submitted #52809 with the test that is remaining for this issue. |
Add test for unexpected region for local data ReStatic Fixes rust-lang#49579. r? @pnkfelix @nikomatsakis
The text was updated successfully, but these errors were encountered: