-
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
Fix move checking for nested union fields #41153
Conversation
I'll rather r? @pnkfelix - he best understands the borrow checker. BTW, do we have an |
This looks fine, in the sense that it is a natural extension of the logic that was previously implemented. So I'm going to r+, but I also agree with @arielb1's comment that we may want to revisit the rules regarding how borrows and unions interact. |
@bors r+ |
📌 Commit ad58d37 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Fixes #41126
r? @arielb1