diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-26 12:16:12 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:02 +0100 |
commit | b05d874fc527f81c54b50e62f204eb8cd04250d8 (patch) | |
tree | f023f9e38fa398d49c0ca9182b952d4e8e3f99ec /gcc/rust/Make-lang.in | |
parent | 96e4e5d27ec49416148b9a22a6c9bb050d562401 (diff) | |
download | gcc-b05d874fc527f81c54b50e62f204eb8cd04250d8.zip gcc-b05d874fc527f81c54b50e62f204eb8cd04250d8.tar.gz gcc-b05d874fc527f81c54b50e62f204eb8cd04250d8.tar.bz2 |
gccrs: Check proc_macro attributes on non root functions
Check proc_macro, proc_macro_attribute and proc_macro_derive attributes
on non root functions, emit an error when one is found.
gcc/rust/ChangeLog:
* util/rust-attributes.cc (check_proc_macro_non_root): Add
function to emit this specific error.
(AttributeChecker::visit): Modify visitor to propagate to some
containers that were not handled correctly.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions