about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-03 01:26:56 +0000
committerbors <bors@rust-lang.org>2018-02-03 01:26:56 +0000
commit6c15dffc43d86c316e3d6bf9f9ffd48d8b5f4a3e (patch)
tree40f2aac56b2262ce76ed9eeb9e30b123b4f9ca1d /src/rustllvm/RustWrapper.cpp
parent616b66dca25a67321b1654e5a65acc6337d63cf4 (diff)
parent67696be160cc35ba5e54086a42225d9c1f81b275 (diff)
downloadrust-6c15dffc43d86c316e3d6bf9f9ffd48d8b5f4a3e.tar.gz
rust-6c15dffc43d86c316e3d6bf9f9ffd48d8b5f4a3e.zip
Auto merge of #47791 - estebank:mismatched-trait-impl, r=nikomatsakis
Tweak presentation on lifetime trait mismatch

 - On trait/impl method discrepancy, add label pointing at trait signature.
 - Point only at method definition when referring to named lifetimes on lifetime mismatch.
 - When the sub and sup expectations are the same, tweak the output to avoid repeated spans.

Fix #30790, CC #18759.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions