diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-01-21 17:20:06 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-24 13:06:58 +0100 |
commit | 89d8c5434c62949d8bb66ac3bd2475b7150d4d45 (patch) | |
tree | 9e2f2cdea03cdbcd3ad14433742e31eca578bcbb /libobjc | |
parent | d1e920221043f03a2d6e84def6c380ee03ac79ec (diff) | |
download | gcc-89d8c5434c62949d8bb66ac3bd2475b7150d4d45.zip gcc-89d8c5434c62949d8bb66ac3bd2475b7150d4d45.tar.gz gcc-89d8c5434c62949d8bb66ac3bd2475b7150d4d45.tar.bz2 |
gccrs: add support for ref literal patterns
Fixes Rust-GCC#3174
gcc/rust/ChangeLog:
* backend/rust-compile-pattern.cc (CompilePatternBindings::visit): make recursive
* typecheck/rust-hir-type-check-pattern.cc (TypeCheckPattern::visit): handle ref flag
gcc/testsuite/ChangeLog:
* rust/compile/nr2/exclude: nr2 cant handle this
* rust/compile/issue-3174.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'libobjc')
0 files changed, 0 insertions, 0 deletions