diff options
author | Philip Herron <herron.philip@googlemail.com> | 2024-11-05 17:41:44 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:32:56 +0100 |
commit | 6a65fb23a9b6e541460ebbfe4044b1ae062c37c9 (patch) | |
tree | e1135fa6d44ffd89cde7a9489d75c5b4afded744 /gcc/rust/backend/rust-compile-context.h | |
parent | 87e4dcd782013a10de2a1cac8ff0364e5ff06bda (diff) | |
download | gcc-6a65fb23a9b6e541460ebbfe4044b1ae062c37c9.zip gcc-6a65fb23a9b6e541460ebbfe4044b1ae062c37c9.tar.gz gcc-6a65fb23a9b6e541460ebbfe4044b1ae062c37c9.tar.bz2 |
gccrs: fix typechecking of Fn trait calls using ADT types
Fixes RustGcc#2953
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-item.cc (TypeCheckItem::visit): fix the ty_id
gcc/testsuite/ChangeLog:
* rust/compile/nr2/exclude: nr2 cant handle these
* rust/compile/issue-2953-1.rs: New test.
* rust/compile/issue-2953-2.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions