diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-07-25 22:01:31 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-07-25 22:11:15 -0700 |
| commit | d96f9d47ac35b637906edb1d5d112549164e096c (patch) | |
| tree | c0c30a1f7652423055d643f2a31a160b9f9dab78 /src/rustllvm/RustWrapper.cpp | |
| parent | b5e8a8ef97abef8a69a9c72de74fed779b401d73 (diff) | |
| download | rust-d96f9d47ac35b637906edb1d5d112549164e096c.tar.gz rust-d96f9d47ac35b637906edb1d5d112549164e096c.zip | |
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
