aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-pattern.cc
diff options
context:
space:
mode:
authorLiam Naddell <liamnprg@gmail.com>2024-12-17 11:48:03 -0500
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-21 12:55:44 +0100
commitc4271707ce700bc87c2772fffa9aa1bc8432c6aa (patch)
treeb104a6e63f7d0b80631a23cc2044892b7faa3ebb /gcc/rust/backend/rust-compile-pattern.cc
parentea356df6265ed362b523c81bd0869f5a4b9d4034 (diff)
downloadgcc-c4271707ce700bc87c2772fffa9aa1bc8432c6aa.zip
gcc-c4271707ce700bc87c2772fffa9aa1bc8432c6aa.tar.gz
gcc-c4271707ce700bc87c2772fffa9aa1bc8432c6aa.tar.bz2
gccrs: Fix NR2.0 compiler ICE caused by Generics in Enums
gcc/rust/ChangeLog: * resolve/rust-late-name-resolver-2.0.cc: Change the late name resolver to enter proper lexical scope during typechecking * resolve/rust-late-name-resolver-2.0.h: Add needed prototype to header * resolve/rust-toplevel-name-resolver-2.0.cc: Add generic parameters to enum's scoped RIB to allow for proper name resolution on types. gcc/testsuite/ChangeLog: * rust/compile/issue-3304.rs: Add small test for generics+enums combination for NR2.0 Signed-off-by: Liam Naddell <liam.naddell@mail.utoronto.ca>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.cc')
0 files changed, 0 insertions, 0 deletions