diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-05 17:24:26 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-10-06 14:07:16 +0100 |
commit | e033f1705dde104c44d69cec87cb728dba596c6f (patch) | |
tree | 073a1393a65f414b83a4874fed6503f799a174cf /gcc/rust/backend/rust-compile.h | |
parent | fc746fd620118f91bb8bfc139c7be3fb2356e820 (diff) | |
download | gcc-e033f1705dde104c44d69cec87cb728dba596c6f.zip gcc-e033f1705dde104c44d69cec87cb728dba596c6f.tar.gz gcc-e033f1705dde104c44d69cec87cb728dba596c6f.tar.bz2 |
Ensure uniqueness on Path probe's
When we lookup names in paths such as Foo::bar, foo is a type we resolve
and then we lookup 'bar' based on what type Foo is which includes probing
relevant bounds of this type. We currently return a vector of possible
candidates and this patch changes it so that we return a set of unique
items based on DefId.
Addresses #1555
Diffstat (limited to 'gcc/rust/backend/rust-compile.h')
0 files changed, 0 insertions, 0 deletions