diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-18 13:26:46 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-07-20 08:21:00 +0000 |
commit | f715169a6ec1b504354e0fc3e2a46bbf29d8715c (patch) | |
tree | 2de290eb624fcf02a51e12c6489d59a8bc1c26ed /gcc/combine.cc | |
parent | b8268b6b7bb7c0353bfda2c88889b0f0ec71e7c8 (diff) | |
download | gcc-f715169a6ec1b504354e0fc3e2a46bbf29d8715c.zip gcc-f715169a6ec1b504354e0fc3e2a46bbf29d8715c.tar.gz gcc-f715169a6ec1b504354e0fc3e2a46bbf29d8715c.tar.bz2 |
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/combine.cc')
0 files changed, 0 insertions, 0 deletions