aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-12-25 17:55:09 +0000
committerCohenArthur <arthur.cohen@embecosm.com>2025-01-03 11:19:08 +0000
commit31d3f550bad1d8fe8d9f0d08252412a8d106d860 (patch)
tree25b2c2535d567e961a1b9b9081ceaab7727fc296 /gcc/rust/hir/rust-hir-dump.cc
parentde8606fc7272c75e71976730b9a9c08ef52a7d36 (diff)
downloadgcc-31d3f550bad1d8fe8d9f0d08252412a8d106d860.zip
gcc-31d3f550bad1d8fe8d9f0d08252412a8d106d860.tar.gz
gcc-31d3f550bad1d8fe8d9f0d08252412a8d106d860.tar.bz2
lower: Correctly lower parenthesized types
This is useful for handling multiple trait bounds, and required for better handling of auto traits. gcc/rust/ChangeLog: * hir/rust-ast-lower-type.cc (ASTLoweringType::visit): Add implementation for ParenthesizedType. * hir/rust-ast-lower-type.h: Declare that new visitor. gcc/testsuite/ChangeLog: * rust/compile/auto_traits1.rs: New test.
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions