Uh oh!
There was an error while loading. Please reload this page.
NLL: report type moved from behind borrow of array/slice - #51247
Conversation
rust-highfive
commented
May 31, 2018
(rust_highfive has picked a reviewer for you, use r? to override) |
7c84263 to
e99f5ecComparepnkfelix
commented
Jun 1, 2018
@nikomatsakis you want to review this? (or maybe hand it off to another member of WG-compiler-nll ?) |
pnkfelix
commented
Jun 4, 2018
nikomatsakis
commented
Jun 5, 2018
@bors r+ |
bors
commented
Jun 5, 2018
📌 Commit e99f5ec has been approved by |
…ved-from-behind-borrow, r=nikomatsakis NLL: report type moved from behind borrow of array/slice When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy. Drive by: While comparing the resulting `.nll.stderr` files to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too. Fixrust-lang#51190
bors
commented
Jun 6, 2018
🔒 Merge conflict |
…bout why the move wasn't a copy. This should address rust-lang#51190.
…ing.rs robust for NLL.
e99f5ec to
e5b378bComparepnkfelix
commented
Jun 6, 2018
@bors r=nikomatsakis |
bors
commented
Jun 6, 2018
📌 Commit e5b378b has been approved by |
…ved-from-behind-borrow, r=nikomatsakis NLL: report type moved from behind borrow of array/slice When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy. Drive by: While comparing the resulting `.nll.stderr` files to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too. Fixrust-lang#51190
rust-highfive
commented
Jun 8, 2018
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 |
1 similar comment
rust-highfive
commented
Jun 8, 2018
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 |
kennytm
commented
Jun 8, 2018
@bors retry |
bors
commented
Jun 8, 2018
⌛ Testing commit e5b378b with merge 6514ef6680d36624bbdb5d674718fc83c6d5fd6a... |
bors
commented
Jun 8, 2018
💔 Test failed - status-travis |
rust-highfive
commented
Jun 8, 2018
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
rust-highfive
commented
Jun 8, 2018
Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
kennytm
commented
Jun 8, 2018
@bors retry |
bors
commented
Jun 8, 2018
⌛ Testing commit e5b378b with merge d7a04b98a929989a9c360b76be2563a02eeb4e14... |
bors
commented
Jun 8, 2018
💔 Test failed - status-appveyor |
kennytm
commented
Jun 8, 2018
bors
commented
Jun 8, 2018
…hind-borrow, r=nikomatsakis NLL: report type moved from behind borrow of array/slice When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy. Drive by: While comparing the resulting `.nll.stderr` files to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too. Fix#51190
kennytm
commented
Jun 8, 2018
@bors treeclosed- |
bors
commented
Jun 8, 2018
☀️ Test successful - status-appveyor, status-travis |
When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy.
Drive by: While comparing the resulting
.nll.stderrfiles to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too.Fix#51190