-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Polonius borrow checker regression in recent nightlies #57487
Comments
Yes, this is intentional. The second borrow is of |
To clarify some more: There's an accepted RFC that would make the closure borrow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code was working with
-Zpolonius
up untilrustc 1.33.0-nightly (c0bbc3927 2019-01-03)
. Since that nightly, the borrow checker fails.Was this an intentional change? The two borrows are disjoint, so I think it should have been fine.
The text was updated successfully, but these errors were encountered: