about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-09 19:50:03 +0000
committerbors <bors@rust-lang.org>2017-08-09 19:50:03 +0000
commitf142499539d038ef60f4e22cafe11ecdd8a29a1d (patch)
tree0a0dbb8de48b38587afcc77e43a5d837e629d127 /src/rustllvm/RustWrapper.cpp
parent33d71944cd359db9d90718abe37559d419070eb9 (diff)
parent9bd62a4691346a30f7aa26cf3b6d726695cf7eee (diff)
downloadrust-f142499539d038ef60f4e22cafe11ecdd8a29a1d.tar.gz
rust-f142499539d038ef60f4e22cafe11ecdd8a29a1d.zip
Auto merge of #43484 - estebank:point-to-return, r=arielb1
Point at return type always when type mismatch against it

Before this, the diagnostic errors would only point at the return type
when changing it would be a possible solution to a type error. Add a
label to the return type without a suggestion to change in order to make
the source of the expected type obvious.

Follow up to #42850, fixes #25133, fixes #41897.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions