-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE using unboxed closure sugar for FnOnce #17655
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
Comments
Taking a look |
It appears that |
I might have a fix for this, stand by |
Well, I fixed the ICE, but upon further inspection it seems that by-ref variable capture in unboxed closures isn't completely baked. I have some patches that seem to get things working in regionck/borrowck, but trans still needs work. I'm not sure if I should continue on this path since @pcwalton may have other plans here. |
…losures This prevents a later ICE in borrowck. Closes issue rust-lang#17655
This test works as a regression test for issue rust-lang#17655. It also exercises mutation of by-ref upvars.
For some reason github did not mark the PR as merged, but this bug is fixed and can be closed. |
More `find_path` improvements
More `find_path` improvements
Sorry if this is a duplicate, I couldn't find anything.
The text was updated successfully, but these errors were encountered: