diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-18 13:37:03 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:57 +0100 |
commit | 1b1f8d898857b69b98095fc26b4dd95bafffdc18 (patch) | |
tree | e21530e2ea616c76b84d0674f29278650347a9cf /gcc/alloc-pool.cc | |
parent | 6bed91c311e0fbfc72ad4de605335900fc98a5e6 (diff) | |
download | gcc-1b1f8d898857b69b98095fc26b4dd95bafffdc18.zip gcc-1b1f8d898857b69b98095fc26b4dd95bafffdc18.tar.gz gcc-1b1f8d898857b69b98095fc26b4dd95bafffdc18.tar.bz2 |
gccrs: proc macro: Detect malformed proc_macro_derive
A derive procedural macro declaration shall always have at least a trait
to refer to. We should error out when it doesn't.
gcc/rust/ChangeLog:
* util/rust-attributes.cc (AttributeChecker::visit): Add
attribute input check.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/alloc-pool.cc')
0 files changed, 0 insertions, 0 deletions