aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-05-03 18:42:24 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-05-06 14:29:51 +0200
commit2df8cf57e62478afb97337fdd4db856158097e1d (patch)
tree0a2def840dc71712098ec80729359fc652619453 /gcc/rust/backend/rust-compile-expr.h
parent4393aabd0732727d945deb057c387524bde39af2 (diff)
downloadgcc-2df8cf57e62478afb97337fdd4db856158097e1d.zip
gcc-2df8cf57e62478afb97337fdd4db856158097e1d.tar.gz
gcc-2df8cf57e62478afb97337fdd4db856158097e1d.tar.bz2
privacy: Add base for pub(restricted) visitor and linter
privacy: restricted: Add base for pub(restricted) violations reporting This commit adds a new visitor whose purpose is to report `pub restricted` violation: The path used in a `pub restricted` privacy can only be an ancestor path, which needs to be checked.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions