Skip to content

Sidestep two-phase borrow violation #1217

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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 <pnkfelix@pnkfx.org>
@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants