aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-31 13:08:06 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-09-05 14:05:36 +0000
commit655da655c1b02c76c7167fe461adbb4e4a3ba1b2 (patch)
treefe4b8b4af16f6215fe000bd1023384b871b70cce /gcc/rust/hir
parent7cfad27662370008db7fa1dd1e2635d02ca312a9 (diff)
downloadgcc-655da655c1b02c76c7167fe461adbb4e4a3ba1b2.zip
gcc-655da655c1b02c76c7167fe461adbb4e4a3ba1b2.tar.gz
gcc-655da655c1b02c76c7167fe461adbb4e4a3ba1b2.tar.bz2
Ease some constraints on derive definition
Member function is_derive was overly constrained, the attribute changes when we parse it's meta items and it no longer contains a tokenstream while staying a derive. gcc/rust/ChangeLog: * ast/rust-ast.cc (Attribute::is_derive): Remove tokenstream condition. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions