diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-06-29 10:13:29 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:46:32 +0100 |
commit | df7f3413385b5e4b90b1da5058b9fae4b891224c (patch) | |
tree | 85ac98ed90a773fb66ce80929872e8ec59870c41 /gcc/rust/hir/tree/rust-hir.h | |
parent | 671517fc2e28d7b3f8caa2d2d1b26365285d3d99 (diff) | |
download | gcc-df7f3413385b5e4b90b1da5058b9fae4b891224c.zip gcc-df7f3413385b5e4b90b1da5058b9fae4b891224c.tar.gz gcc-df7f3413385b5e4b90b1da5058b9fae4b891224c.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/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions