about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-08 20:41:20 +0000
committerbors <bors@rust-lang.org>2018-06-08 20:41:20 +0000
commit8afb89493179e52b61a4f8b9c45de1dd7e9d1f3a (patch)
treeefe9c1687027bd70f7d3b74a184e1fc404e2cd2f /src/rustllvm/RustWrapper.cpp
parentc40275b34f8a2b6a289181d1d5f376ff7c64f0c5 (diff)
parente5b378b18df428e296243a82e4a2c5856ef0cb75 (diff)
downloadrust-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