aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir.h
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-06-29 10:13:29 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:32 +0100
commitdf7f3413385b5e4b90b1da5058b9fae4b891224c (patch)
tree85ac98ed90a773fb66ce80929872e8ec59870c41 /gcc/rust/hir/tree/rust-hir.h
parent671517fc2e28d7b3f8caa2d2d1b26365285d3d99 (diff)
downloadgcc-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