Uh oh!
There was an error while loading. Please reload this page.
Don't emit cannot move errors twice in migrate mode - #55221
Conversation
bors
commented
Oct 21, 2018
☔ The latest upstream changes (presumably #55069) made this pull request unmergeable. Please resolve the merge conflicts. |
38b0425 to
b375728Compare| if let Err(_place_err) = self.is_mutable(place, is_local_mutation_allowed) { | ||
| if let (Err(_place_err), true) = ( | ||
| self.is_mutable(place, is_local_mutation_allowed), | ||
| self.errors_buffer.is_empty() |
There was a problem hiding this comment.
Ah great idea to let the ICE through if we have already signaled errors. Or at least I hope it’s a great idea.
There was a problem hiding this comment.
(ugh I clearly misread the code 3 hours ago.)
pnkfelix
commented
Oct 22, 2018
@bors r+ |
bors
commented
Oct 22, 2018
📌 Commit b375728 has been approved by |
| if let Err(_place_err) = self.is_mutable(place, is_local_mutation_allowed) { | ||
| if let (Err(_place_err), true) = ( | ||
| self.is_mutable(place, is_local_mutation_allowed), | ||
| self.errors_buffer.is_empty() |
There was a problem hiding this comment.
just to be clear: this filter is going to affect more than just the migrate mode, right?
that is, I assume this will also cause us to stop emitting some move errors even in normal NLL mode?
There was a problem hiding this comment.
Or rather ... I guess it will stop us ... from ICE'ing in some scenarios under normal NLL mode if we've emitted an error already ...?
I don't know how I feel about that. I guess its fine.
pnkfelix
commented
Oct 22, 2018
Ugh sorry I had used my phone and I guess the review comment system there doesn't bubble out to here in a manner that bors can see! |
1 similar comment
pnkfelix
commented
Oct 22, 2018
Ugh sorry I had used my phone and I guess the review comment system there doesn't bubble out to here in a manner that bors can see! |
bors
commented
Oct 22, 2018
|
Aaron1011
commented
Oct 24, 2018
It looks like Bors might be stuck - all commits on the |
pnkfelix
commented
Oct 24, 2018
@bors r+ |
bors
commented
Oct 24, 2018
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Oct 24, 2018
📌 Commit b375728 has been approved by |
…te-messages, r=pnkfelix Don't emit cannot move errors twice in migrate mode Closesrust-lang#55154 cc rust-lang#53004 r? @pnkfelix
bors
commented
Oct 29, 2018
⌛ Testing commit b375728 with merge 7d04c95f0da7486f2a652fb7efd4e52fe01786ef... |
bors
commented
Oct 29, 2018
💔 Test failed - status-appveyor |
kennytm
commented
Oct 29, 2018
Needs to bless a file. |
b375728 to
42a541eComparematthewjasper
commented
Oct 29, 2018
@bors r=pnkfelix |
bors
commented
Oct 29, 2018
📌 Commit 42a541e has been approved by |
bors
commented
Oct 29, 2018
⌛ Testing commit 42a541e with merge 6e0a5b63d7e24d392bb2b9139bd9a4e61493da48... |
bors
commented
Oct 30, 2018
💔 Test failed - status-appveyor |
kennytm
commented
Oct 30, 2018
@bors retry 3 hour timeout |
bors
commented
Oct 30, 2018
bors
commented
Oct 30, 2018
☀️ Test successful - status-appveyor, status-travis |
Closes#55154
cc #53004
r? @pnkfelix