about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-28 05:37:46 +0200
committerGitHub <noreply@github.com>2019-09-28 05:37:46 +0200
commit5b6a5801fbe90c029a170555c1ca49b676b243a7 (patch)
treed9953bed1b140302f4cddce40c633787b87b178c /src/test/debuginfo/enum-thinlto.rs
parent85175b719b6d854744bf29099765eb06fb46cc70 (diff)
parenta284822e009e1e72443041219c7f3646c822ff89 (diff)
downloadrust-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