diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-06-27 17:08:59 +0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:49:30 +0100 |
commit | 3913845305f7a20cb3d0b372492716687d823b98 (patch) | |
tree | ed580ea4e7fafe61434e4884a128606f33631174 /gcc/rust/backend/rust-compile-expr.cc | |
parent | 11fbade585049d2ff2f51f66a1eb6106deaec619 (diff) | |
download | gcc-3913845305f7a20cb3d0b372492716687d823b98.zip gcc-3913845305f7a20cb3d0b372492716687d823b98.tar.gz gcc-3913845305f7a20cb3d0b372492716687d823b98.tar.bz2 |
gccrs: [E0027] struct pattern fails to specify struct's fields
A pattern for a struct fails to specify a sub-pattern
for every one of the struct's fields. - pattern does
not mention fields `x`, `y`
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): called rust_error_at
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
0 files changed, 0 insertions, 0 deletions