]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: [E0532] Pattern arm did not match expected kind
authorMuhammad Mahad <mahadtxt@gmail.com>
Sat, 2 Sep 2023 10:18:20 +0000 (15:18 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:04:31 +0000 (19:04 +0100)
commit5372086cf5243fa52c09bed8db49fe12918ab746
treecba03e7477fcfd6b9bc63cf76d20497befe0c1ba
parent55caa88646a6b2e15ffa3e01fdde487548af692f
gccrs: [E0532] Pattern arm did not match expected kind

gcc/rust/ChangeLog:

* typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit):
Added error code.

gcc/testsuite/ChangeLog:

* rust/compile/issue-2029.rs:
Updated for dejagnu testcase.

Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
gcc/rust/typecheck/rust-hir-type-check-pattern.cc
gcc/testsuite/rust/compile/issue-2029.rs