-
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
More restrictive 2 phase borrows - take 2 #58739
Conversation
@bors try |
⌛ Trying commit 58d9280 with merge d7cd76545183ac4a130654fd5c03b5d3ef1287b2... |
💥 Test timed out |
@bors retry |
More restrictive 2 phase borrows - take 2 Another try at this. Currently changes to a hard error, but we probably want to change it to a lint instead. cc #56254 r? @pnkfelix cc @RalfJung @nikomatsakis
☀️ Test successful - checks-travis |
@rust-lang/infra can this have a check only crater run? |
You have the perms to request one yourself now 🎉 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@craterbot run start=master#fb162e69449b423c5aed0d9c39f6c046fa300c30 end=try#684d1bdaca93437778609f08a04ce6e7e30a894f mode=check-only |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
⌛ Testing commit cc5088d with merge 3743762f9e7a8307dba17e384bb055948b7fce94... |
💔 Test failed - checks-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors r- This has changed the UI output of miri's |
(i wish I had pushed harder for us to land this code with the lint set to default |
We should not wait a week for this. I would prefer to update miri again. If it comes to it and we cannot, then we should introduce an exception which accepts a breakage specifically for miri. cc @RalfJung @oli-obk -- hopefully y'all can update miri and we shouldn't have to pick between bad choices... |
@bors p=8 |
@bors r=pnkfelix |
📌 Commit cc5088d has been approved by |
☀️ Test successful - checks-travis, status-appveyor |
(I'm deliberately not nominating this for beta, due to particularities of how the timing has worked out; it has now landed in nightly, so it will get folded into the beta naturally when the beta-next is cut sometime during the next day or so, and I do not think this change warrants a nomination for beta->stable backport.) |
Fix mutable_borrow_reservation_conflict warning. nightly-2019-04-08 added a more restrictive borrowing rule (rust-lang/rust#58739).
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