aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorRaiki Tamura <tamaron1203@gmail.com>2024-07-31 16:09:30 +0900
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:04 +0100
commitb7e79e38fe97e9f41008f0a48bd41ffdd7a2895c (patch)
tree84fd5b4f5259ebfc8e33cb8d8ef3818d5a1eef4d /gcc/rust/backend
parent85a3c48f51dbef4e74f806aca36825a6164db636 (diff)
downloadgcc-b7e79e38fe97e9f41008f0a48bd41ffdd7a2895c.zip
gcc-b7e79e38fe97e9f41008f0a48bd41ffdd7a2895c.tar.gz
gcc-b7e79e38fe97e9f41008f0a48bd41ffdd7a2895c.tar.bz2
rust: Add checking for union patterns
gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): Add check for union patterns. gcc/testsuite/ChangeLog: * rust/compile/match8.rs: New test. Signed-off-by: Raiki Tamura <tamaron1203@gmail.com>
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions