diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-09-25 23:01:01 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-09-27 09:34:51 -0700 |
| commit | 46a38dc183d2f79b764b2cca0011d0843f0fffcb (patch) | |
| tree | 4bd1f375d6a1c3c99cedc1309da696af25d37649 /src/test/debuginfo/enum-thinlto.rs | |
| parent | faee8e1756dbdfbe0752a8006e952395c0cd7a67 (diff) | |
| download | rust-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/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
