aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-expr.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-16 11:28:34 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:12 +0100
commitf209a01840a365365100c0ff4a31c0bab2ed2693 (patch)
tree74f4ccd96ae44a84ebf1fae9a7d03ec6bd0ad5f8 /gcc/rust/hir/tree/rust-hir-expr.h
parentf97a9841dc65ddaa18a08f37d0cd58537c3bfb94 (diff)
downloadgcc-f209a01840a365365100c0ff4a31c0bab2ed2693.zip
gcc-f209a01840a365365100c0ff4a31c0bab2ed2693.tar.gz
gcc-f209a01840a365365100c0ff4a31c0bab2ed2693.tar.bz2
gccrs: Fix pub unit type parsing
Public unit types where not parsed correctly due to visibility specifiers within parenthesis. Fixes #2648. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_visibility): Relax constraints over public visibility return condition in order to accept pub unit types. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-expr.h')
0 files changed, 0 insertions, 0 deletions