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-04 16:34:27 +0000
committerbors <bors@rust-lang.org>2018-10-04 16:34:27 +0000
commita57f1c9c955177e2a7563dd59f9e3a70458e2be1 (patch)
treef09383537c54a27ecb4e0899738373ffedb3725e /src/rustllvm/RustWrapper.cpp
parent5de52817c43fcb767ab3c7ecf051872cad6d0df2 (diff)
parentbc4f9b848d745022ededdfaa3099158a766e8faa (diff)
downloadrust-a57f1c9c955177e2a7563dd59f9e3a70458e2be1.tar.gz
rust-a57f1c9c955177e2a7563dd59f9e3a70458e2be1.zip
Auto merge of #54666 - matthewjasper:mir-function-spans, r=pnkfelix
[NLL] Improve "borrow later used here" messages

* In the case of two conflicting borrows, the later used message says which borrow it's referring to
* If the later use is a function call (from the users point of view) say that the later use is for the call. Point just to the function.

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