diff options
| author | bors <bors@rust-lang.org> | 2018-06-08 20:41:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-08 20:41:20 +0000 |
| commit | 8afb89493179e52b61a4f8b9c45de1dd7e9d1f3a (patch) | |
| tree | efe9c1687027bd70f7d3b74a184e1fc404e2cd2f /src/rustllvm/RustWrapper.cpp | |
| parent | c40275b34f8a2b6a289181d1d5f376ff7c64f0c5 (diff) | |
| parent | e5b378b18df428e296243a82e4a2c5856ef0cb75 (diff) | |
| download | rust-8afb89493179e52b61a4f8b9c45de1dd7e9d1f3a.tar.gz rust-8afb89493179e52b61a4f8b9c45de1dd7e9d1f3a.zip | |
Auto merge of #51247 - pnkfelix:issue-51190-report-type-moved-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. Fix #51190
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
