Skip to content

More restrictive 2 phase borrows - take 2#58739

Merged
bors merged 10 commits intorust-lang:masterfrom
matthewjasper:more-restrictive-tpb
Apr 7, 2019
Merged

More restrictive 2 phase borrows - take 2#58739
bors merged 10 commits intorust-lang:masterfrom
matthewjasper:more-restrictive-tpb

Conversation

@matthewjasper
Copy link
Copy Markdown
Contributor

@matthewjasper matthewjasper commented Feb 25, 2019

Signal lint diagnostic mutable_borrow_reservation_conflict when borrow-check finds a 2-phase borrow's reservation overlapping with a shared borrow.

(pnkfelix updated description)

cc #56254 , #59159

blocks PR #59114

r? @pnkfelix

cc @RalfJung @nikomatsakis

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-NLL Area: Non-lexical lifetimes (NLL) disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-lang Relevant to the language team

Projects

None yet

Development

Successfully merging this pull request may close these issues.