Skip to content
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

Merged
merged 1 commit into from
Apr 14, 2017
Merged

Conversation

petrochenkov
Copy link
Contributor

Fixes #41126
r? @arielb1

@arielb1
Copy link
Contributor

arielb1 commented Apr 8, 2017

I'll rather r? @pnkfelix - he best understands the borrow checker.

BTW, do we have an rpass test that shows what patterns are acceptable?

@rust-highfive rust-highfive assigned pnkfelix and unassigned arielb1 Apr 8, 2017
@pnkfelix
Copy link
Member

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.

@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Apr 14, 2017

📌 Commit ad58d37 has been approved by pnkfelix

@bors
Copy link
Contributor

bors commented Apr 14, 2017

⌛ Testing commit ad58d37 with merge ba37798...

bors added a commit that referenced this pull request Apr 14, 2017
Fix move checking for nested union fields

Fixes #41126
r? @arielb1
@carols10cents carols10cents added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 14, 2017
@bors
Copy link
Contributor

bors commented Apr 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: pnkfelix
Pushing ba37798 to master...

@bors bors merged commit ad58d37 into rust-lang:master Apr 14, 2017
@petrochenkov petrochenkov deleted the umove branch August 26, 2017 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants