diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-06-26 15:48:08 +0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:46:30 +0100 |
commit | 162aecc7b69d10204be0e92467c58468466d81d5 (patch) | |
tree | 2d14dc3b6a70f9540cfffb30ca4608888bcb1feb /gcc/rust/hir/tree/rust-hir.h | |
parent | 69a64dcb20e0da87c849a27148e1599a6f4d72e8 (diff) | |
download | gcc-162aecc7b69d10204be0e92467c58468466d81d5.zip gcc-162aecc7b69d10204be0e92467c58468466d81d5.tar.gz gcc-162aecc7b69d10204be0e92467c58468466d81d5.tar.bz2 |
gccrs: [E0023] Incorrect Number of Fields in Pattern Extraction
ErrorCode[E0023]: Incorrect Number of Fields in Pattern Extraction.
The pattern has x fields, but the corresponding tuple variant
has y field
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/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions