aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2024-06-30 23:11:17 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:52 +0100
commite50983a756329b2e27359a523d0ff1609c22aaa1 (patch)
tree9a2cf7cd223edd398ab35f5f8750d347a559b738 /gcc/rust/hir/tree/rust-hir-expr.h
parentdbdb6e3cd2a92e5b10a774052d7309dde9971f97 (diff)
downloadgcc-e50983a756329b2e27359a523d0ff1609c22aaa1.zip
gcc-e50983a756329b2e27359a523d0ff1609c22aaa1.tar.gz
gcc-e50983a756329b2e27359a523d0ff1609c22aaa1.tar.bz2
rust: fix HIR dump for MatchExpr
The visitor was still using the as_string() method. gcc/rust/ChangeLog: * hir/rust-hir-dump.cc (Dump::do_matcharm): New. (Dump::do_matchcase): New. (Dump::visit(MatchExpr)): Adjust, don't use as_string. * hir/rust-hir-dump.h (Dump::do_matcharm, Dump::do_matchcase): New. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions