diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-06-29 10:13:29 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-06-29 15:38:44 +0000 |
commit | eb88e324cde1e832dc6f3a5932aef9ee8e7abf6a (patch) | |
tree | d337b12ce226abdee39c206b877dfeeb1170ab78 /gcc/rust/hir/rust-hir-dump.cc | |
parent | 2ddf542ed6710dd428ef810c1c2c618d4bd55388 (diff) | |
download | gcc-eb88e324cde1e832dc6f3a5932aef9ee8e7abf6a.zip gcc-eb88e324cde1e832dc6f3a5932aef9ee8e7abf6a.tar.gz gcc-eb88e324cde1e832dc6f3a5932aef9ee8e7abf6a.tar.bz2 |
gccrs: Track associated type generics
This fixes an issue with our qualified type-paths if we point to a generic
associated type this needs to either use the placeholder type on the trait
reference or use the impl-type but apply the generics.
gcc/rust/ChangeLog:
* typecheck/rust-hir-trait-reference.h: update prototype
* typecheck/rust-hir-trait-resolve.cc: add generic args as an out param
* typecheck/rust-hir-type-check-type.cc (TypeCheckType::visit): use the generics
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions