diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-07-18 17:36:11 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-07-27 12:24:54 +0000 |
commit | ac850d186ac945df00eda97555d273109250554c (patch) | |
tree | c978a08b3aa197b9e705b03e7e5ecf392e75656a /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | 9a906fea9e4230c625ba5fe169f447450ab5f4c9 (diff) | |
download | gcc-ac850d186ac945df00eda97555d273109250554c.zip gcc-ac850d186ac945df00eda97555d273109250554c.tar.gz gcc-ac850d186ac945df00eda97555d273109250554c.tar.bz2 |
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/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions