aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-23 17:06:43 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-10-23 16:35:23 +0000
commit4f0da0ec6e113402a6063fc0f8cc94b8692b450a (patch)
tree17448dc8e1c50f585e8267ede881c52c0d696d29 /gcc/rust/hir
parentaf3071fc346d0e6cfd7c36a5b203589d5e1b2f85 (diff)
downloadgcc-4f0da0ec6e113402a6063fc0f8cc94b8692b450a.zip
gcc-4f0da0ec6e113402a6063fc0f8cc94b8692b450a.tar.gz
gcc-4f0da0ec6e113402a6063fc0f8cc94b8692b450a.tar.bz2
Parse const with no value expression
Const with no value expression may exist either in trait or in disabled blocks. This means we should be able to parse those correctly. gcc/rust/ChangeLog: * ast/rust-item.h: Add a new constructor for const with no value expression. * parse/rust-parse-impl.h (Parser::parse_const_item): Allow const with no expression value. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions