aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2025-04-16 17:38:27 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2025-05-02 14:46:25 +0000
commit5d01bb8c5525b464e7713a15b8db4ffc69a3025a (patch)
tree98cc436a7f5f1b74f7da828a288acda20760b918 /gcc/rust/parse/rust-parse-impl.h
parentecf19aca7569bca599d8942f2a3a59b7430374b0 (diff)
downloadgcc-5d01bb8c5525b464e7713a15b8db4ffc69a3025a.zip
gcc-5d01bb8c5525b464e7713a15b8db4ffc69a3025a.tar.gz
gcc-5d01bb8c5525b464e7713a15b8db4ffc69a3025a.tar.bz2
derive(PartialEq): Allow deriving enum structs
gcc/rust/ChangeLog: * expand/rust-derive-partial-eq.cc (DerivePartialEq::match_enum_tuple): Remove debug call. (DerivePartialEq::match_enum_struct): Add proper implementation. (DerivePartialEq::visit_enum): Call it. gcc/testsuite/ChangeLog: * rust/execute/torture/derive-partialeq2.rs: New test.
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions