diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-18 13:26:46 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:57 +0100 |
commit | 6bed91c311e0fbfc72ad4de605335900fc98a5e6 (patch) | |
tree | 04dca5581adcbf5bdfd16aa09f7adc3334f4b17c /gcc/alloc-pool.cc | |
parent | 43208b6cbabe9189a48de64e4a42087af14cd671 (diff) | |
download | gcc-6bed91c311e0fbfc72ad4de605335900fc98a5e6.zip gcc-6bed91c311e0fbfc72ad4de605335900fc98a5e6.tar.gz gcc-6bed91c311e0fbfc72ad4de605335900fc98a5e6.tar.bz2 |
gccrs: proc macros: Add crate type attribute check
A procedural macroa attribute can only be used on proc macro crates.
gcc/rust/ChangeLog:
* util/rust-attributes.cc (AttributeChecker::visit): Add
attribute check on functions.
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