diff options
author | Muhammad Mahad <mahadtxt@gmail.com> | 2023-09-03 11:13:53 +0500 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-09-03 18:04:55 +0000 |
commit | 45d892b542d1a4d5052842d9cc512d23a2770ac5 (patch) | |
tree | c1b2ae4b612672f5d05e80ae3a6987417258e991 /gcc/rust/rust-gcc.cc | |
parent | b1956a4f70ee26dd6f02e7dc77787c456907943e (diff) | |
download | gcc-45d892b542d1a4d5052842d9cc512d23a2770ac5.zip gcc-45d892b542d1a4d5052842d9cc512d23a2770ac5.tar.gz gcc-45d892b542d1a4d5052842d9cc512d23a2770ac5.tar.bz2 |
gccrs: [E0603] Use of private item outside scope
gcc/rust/ChangeLog:
* checks/errors/privacy/rust-privacy-reporter.cc
(PrivacyReporter::check_for_privacy_violation):
Added errorcode & richlocation.
gcc/testsuite/ChangeLog:
* rust/compile/privacy1.rs: Added errorcode.
* rust/compile/privacy3.rs: likewise.
* rust/compile/privacy4.rs: likewise.
* rust/compile/privacy5.rs: likewise.
Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
0 files changed, 0 insertions, 0 deletions