aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.cc
diff options
context:
space:
mode:
authorLiam Naddell <liam.naddell@mail.utoronto.ca>2024-08-03 01:36:06 -0400
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2024-08-06 15:28:58 +0000
commitbe1e78ba333435e2106227905bc63dfeb8718ff3 (patch)
tree97b00b3e5dd0ffd05262c6d0dfcceb1fe3f1137d /gcc/tree-object-size.cc
parent6a05b0ada8a6f74310dbdc1b4c587bcfa7fc5a81 (diff)
downloadgcc-be1e78ba333435e2106227905bc63dfeb8718ff3.zip
gcc-be1e78ba333435e2106227905bc63dfeb8718ff3.tar.gz
gcc-be1e78ba333435e2106227905bc63dfeb8718ff3.tar.bz2
[#2324] Add error message for E0532
gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-pattern.cc: Emit E0532 when trying to reference a Tuple or Struct variant using a non Tuple or Struct pattern. gcc/testsuite/ChangeLog: * rust/compile/issue-2324-1.rs: add test for E0532 with tuple enum variant * rust/compile/issue-2324-2.rs: add test for E0532 with struct enum variant Signed-off-by: Liam Naddell <liam.naddell@mail.utoronto.ca>
Diffstat (limited to 'gcc/tree-object-size.cc')
0 files changed, 0 insertions, 0 deletions