aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-01-21 17:20:06 +0000
committerPhilip Herron <philip.herron@embecosm.com>2025-01-29 17:41:24 +0000
commitad46f0871d80966a1dd1adf7bf444c99f094d42a (patch)
tree03c536936fbec0fe96f514aa2cad8bcd69025e0f /gcc/rust/ast/rust-ast.h
parent3c21102b7378b9a4d61c36689063f6104e751ff6 (diff)
downloadgcc-ad46f0871d80966a1dd1adf7bf444c99f094d42a.zip
gcc-ad46f0871d80966a1dd1adf7bf444c99f094d42a.tar.gz
gcc-ad46f0871d80966a1dd1adf7bf444c99f094d42a.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 'gcc/rust/ast/rust-ast.h')
0 files changed, 0 insertions, 0 deletions