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

Sidestep two-phase borrow violation #1217

Merged

Conversation

pnkfelix
Copy link
Member

Sidestep two-phase borrow violation signaled by mutable_borrow_reservation_conflict.

See rust-lang/rust#59159 for further information/discussion.

@matklad
Copy link
Member

matklad commented Apr 29, 2019

Is there a #[deny(something)] we can add to catch similar problems in the future? If it is, let’s add it, otherwise r=me

@pnkfelix
Copy link
Member Author

I don't know if we can deny this lint on stable. I'll check.

@matklad
Copy link
Member

matklad commented Apr 30, 2019

Let's merge this in the meantime anyway!

bors r+

Thanks!

bors bot added a commit that referenced this pull request Apr 30, 2019
1217: Sidestep two-phase borrow violation r=matklad a=pnkfelix

Sidestep two-phase borrow violation signaled by mutable_borrow_reservation_conflict.

See rust-lang/rust#59159 for further information/discussion.

Co-authored-by: Felix S. Klock II <[email protected]>
@bors
Copy link
Contributor

bors bot commented Apr 30, 2019

Build succeeded

@bors bors bot merged commit d694b01 into rust-lang:master Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants