aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-06-12 16:07:13 +0100
committerPhilip Herron <philip.herron@embecosm.com>2023-06-13 08:46:22 +0000
commite43261892fb74f30639302eaff3eee6f626cc384 (patch)
tree836018b58c26e09b2bbbb9b71ab5b9b2604ca739 /gcc/rust/resolve
parente3e945f055f2d2dd972e20380c2df69a62912be7 (diff)
downloadgcc-e43261892fb74f30639302eaff3eee6f626cc384.zip
gcc-e43261892fb74f30639302eaff3eee6f626cc384.tar.gz
gcc-e43261892fb74f30639302eaff3eee6f626cc384.tar.bz2
gccrs: ensure assoicated types are setup for concrete trait impl blocks
We have been concentrating on generic impl blocks for so long that we have not handled the simple concrete impl block case where associated types need to be setup when compling a function/method on a trait impl block which uses associated types. Addresses #2019 gcc/rust/ChangeLog: * backend/rust-compile-item.cc (CompileItem::visit): ensure assoicated types are setup * typecheck/rust-hir-trait-reference.h: new interface for concrete impl block * typecheck/rust-hir-trait-resolve.cc (AssociatedImplTrait::setup_raw_associated_types): ensure we setup assoicated types for this impl block gcc/testsuite/ChangeLog: * rust/compile/issue-2019-1.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions