diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-10-23 17:06:43 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-10-23 16:35:23 +0000 |
commit | 4f0da0ec6e113402a6063fc0f8cc94b8692b450a (patch) | |
tree | 17448dc8e1c50f585e8267ede881c52c0d696d29 /gcc/rust/hir | |
parent | af3071fc346d0e6cfd7c36a5b203589d5e1b2f85 (diff) | |
download | gcc-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