diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-28 05:37:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-28 05:37:46 +0200 |
| commit | 5b6a5801fbe90c029a170555c1ca49b676b243a7 (patch) | |
| tree | d9953bed1b140302f4cddce40c633787b87b178c /src/test/debuginfo/enum-thinlto.rs | |
| parent | 85175b719b6d854744bf29099765eb06fb46cc70 (diff) | |
| parent | a284822e009e1e72443041219c7f3646c822ff89 (diff) | |
| download | rust-5b6a5801fbe90c029a170555c1ca49b676b243a7.tar.gz rust-5b6a5801fbe90c029a170555c1ca49b676b243a7.zip | |
Rollup merge of #64802 - estebank:walk-parents-iterator, r=matthewjasper
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. Turn `walk_parent_nodes` method into an iterator. CC #39968, CC #40799.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
