diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-16 11:28:34 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-10-16 15:29:50 +0000 |
commit | 18154096774660d790daff8844cd773c2388f1c5 (patch) | |
tree | 3eede955a4818b931f49350ce647f9a2d64c7e93 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | 2b4eb390ec8f3a71c3389eb727b917f9eb4bae8f (diff) | |
download | gcc-18154096774660d790daff8844cd773c2388f1c5.zip gcc-18154096774660d790daff8844cd773c2388f1c5.tar.gz gcc-18154096774660d790daff8844cd773c2388f1c5.tar.bz2 |
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/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions