diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-06 12:56:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 12:56:12 +0000 |
commit | 74e836599ce80a11b1fe28065ed7aae6ffa3b7e2 (patch) | |
tree | 0a2def840dc71712098ec80729359fc652619453 /gcc/rust/backend/rust-compile-pattern.cc | |
parent | 9ea940e4dcabbf99fbb44c125a0af7cf82e48146 (diff) | |
parent | 2df8cf57e62478afb97337fdd4db856158097e1d (diff) | |
download | gcc-74e836599ce80a11b1fe28065ed7aae6ffa3b7e2.zip gcc-74e836599ce80a11b1fe28065ed7aae6ffa3b7e2.tar.gz gcc-74e836599ce80a11b1fe28065ed7aae6ffa3b7e2.tar.bz2 |
Merge #1215
1215: Report `pub restricted` violations r=CohenArthur a=CohenArthur
Needs #1202. The only commit worth reviewing in the meantime is [c229c7f](https://github.com/Rust-GCC/gccrs/pull/1215/commits/c229c7f891f02c3ecd1c7b743b35edb3fc2c5539)
This visitor allows us to report invalid restrictions in `pub(restricted)` visibilities. I've added documentation and an example to the visitor to explain the expected behavior.
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.cc')
0 files changed, 0 insertions, 0 deletions