bors f142499539 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.
2017-08-09 19:50:03 +00:00
..
2017-08-05 16:29:10 -04:00
2017-07-31 18:09:02 +03:00
2017-07-27 05:51:22 -06:00
2017-08-07 12:16:04 +12:00
2017-08-07 15:42:30 -07:00
2017-07-27 05:51:22 -06:00