diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-04-16 17:38:27 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-05-02 14:46:25 +0000 |
commit | 5d01bb8c5525b464e7713a15b8db4ffc69a3025a (patch) | |
tree | 98cc436a7f5f1b74f7da828a288acda20760b918 /gcc/rust/parse/rust-parse-impl.h | |
parent | ecf19aca7569bca599d8942f2a3a59b7430374b0 (diff) | |
download | gcc-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