about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-11 03:32:12 +0000
committerbors <bors@rust-lang.org>2018-10-11 03:32:12 +0000
commit9746a2d40d69b145f8247e4a5fb2978e5f4d5c97 (patch)
tree388e86031d56dc88e8ecd316835b4d99ee45af1d /src/rustllvm/RustWrapper.cpp
parentf42c510f2f952a6eba80e6448b46e83bfcc04e44 (diff)
parent72911fbbd051c1824f00735ac1b57017ca709a87 (diff)
downloadrust-9746a2d40d69b145f8247e4a5fb2978e5f4d5c97.tar.gz
rust-9746a2d40d69b145f8247e4a5fb2978e5f4d5c97.zip
Auto merge of #54848 - davidtwco:issue-52663-trait-object, r=nikomatsakis
Better Diagnostic for Trait Object Capture

Part of #52663.

This commit enhances `LaterUseKind` detection to identify when a borrow
is captured by a trait object which helps explain why there is a borrow
error.

r? @nikomatsakis
cc @pnkfelix
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions