aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-18 17:36:11 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-27 12:24:54 +0000
commitac850d186ac945df00eda97555d273109250554c (patch)
treec978a08b3aa197b9e705b03e7e5ecf392e75656a /gcc/rust/resolve
parent9a906fea9e4230c625ba5fe169f447450ab5f4c9 (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions