diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-01-30 14:19:03 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-02-02 18:28:58 +0000 |
commit | 9d6bd59e86946aeea41551f8ab227f3954235029 (patch) | |
tree | bbd34c3d59272d13413d3f62391868daaa897247 /gcc/rust/ast/rust-ast-builder.h | |
parent | adf6afb8205de374e95d8fb08573428630289547 (diff) | |
download | gcc-9d6bd59e86946aeea41551f8ab227f3954235029.zip gcc-9d6bd59e86946aeea41551f8ab227f3954235029.tar.gz gcc-9d6bd59e86946aeea41551f8ab227f3954235029.tar.bz2 |
lang-items: Add structural_{peq, teq}
These lang items are used when deriving Eq and PartialEq, and will be checked when compiling pattern matching.
gcc/rust/ChangeLog:
* util/rust-lang-item.cc: New items.
* util/rust-lang-item.h: Likewise.
gcc/testsuite/ChangeLog:
* rust/compile/structural-eq-peq.rs: New test.
Diffstat (limited to 'gcc/rust/ast/rust-ast-builder.h')
0 files changed, 0 insertions, 0 deletions