]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: gccrs:[E0026] Non-Existent Field Extraction in Struct Pattern
authorMuhammad Mahad <mahadtxt@gmail.com>
Tue, 20 Jun 2023 15:19:13 +0000 (20:19 +0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:46:30 +0000 (18:46 +0100)
commit69a64dcb20e0da87c849a27148e1599a6f4d72e8
treecc40c424f81b558dadc12ec265f9196d5a4361d0
parent497632d136c6930fab94709e03b48a8a6735de3c
gccrs: gccrs:[E0026] Non-Existent Field Extraction in Struct Pattern

Non-Existent Field Extraction in Struct Pattern
variant `Foo::D` does not have a field named `b`

gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): called rust_error_at

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