diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-18 17:36:11 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:00 +0100 |
commit | e615b4fa5f3b2fda29f13db216c59d46837cfb85 (patch) | |
tree | fe1f4428adcf04808a0e4ea257191710022df4e1 /gcc/rust/Make-lang.in | |
parent | e58650e6df390e71e7ce880c6bc895a4c4930e25 (diff) | |
download | gcc-e615b4fa5f3b2fda29f13db216c59d46837cfb85.zip gcc-e615b4fa5f3b2fda29f13db216c59d46837cfb85.tar.gz gcc-e615b4fa5f3b2fda29f13db216c59d46837cfb85.tar.bz2 |
gccrs: proc macro: Add privacy check
Proc macro crates cannot have any public function but proc macros. Proc
macros should be public.
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-privacy-reporter.cc (PrivacyReporter::go):
Add visibility verification.
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