diff options
author | Raiki Tamura <tamaron1203@gmail.com> | 2024-07-31 16:09:30 +0900 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-08-27 09:29:27 +0000 |
commit | af7e8fda83d8b34170f4fdf3371b67cd6b4e72f1 (patch) | |
tree | bead81d6aad65963a8d4b9297bc37367d2cc2607 /gcc/gimple-warn-recursion.cc | |
parent | 084789ed26b632795438de84c412ddf321da9960 (diff) | |
download | gcc-af7e8fda83d8b34170f4fdf3371b67cd6b4e72f1.zip gcc-af7e8fda83d8b34170f4fdf3371b67cd6b4e72f1.tar.gz gcc-af7e8fda83d8b34170f4fdf3371b67cd6b4e72f1.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/gimple-warn-recursion.cc')
0 files changed, 0 insertions, 0 deletions