about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-09-25 23:01:01 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-09-27 09:34:51 -0700
commit46a38dc183d2f79b764b2cca0011d0843f0fffcb (patch)
tree4bd1f375d6a1c3c99cedc1309da696af25d37649 /src/test/ui/thinlto
parentfaee8e1756dbdfbe0752a8006e952395c0cd7a67 (diff)
downloadrust-46a38dc183d2f79b764b2cca0011d0843f0fffcb.tar.gz
rust-46a38dc183d2f79b764b2cca0011d0843f0fffcb.zip
Account for tail expressions when pointing at return type
When there's a type mismatch we make an effort to check if it was
caused by a function's return type. This logic now makes sure to
only point at the return type if the error happens in a tail
expression.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions