about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-04-11 12:18:50 +0900
committerGitHub <noreply@github.com>2023-04-11 12:18:50 +0900
commit788de4701ee8b7aec26f3b4f332fecc81c1d0c83 (patch)
tree93900259a780cebb931eee64343d4fbe296fe295 /compiler/rustc_errors/src/snippet.rs
parent5af6385f9f0d33c4aa611db5efd80f9ab1b4ffde (diff)
parent4e5c120f33780c22923539f8a1e75b3959626cb3 (diff)
downloadrust-788de4701ee8b7aec26f3b4f332fecc81c1d0c83.tar.gz
rust-788de4701ee8b7aec26f3b4f332fecc81c1d0c83.zip
Rollup merge of #109923 - ElectrifyPro:visibility, r=wesleywiser
Update `error [E0449]: unnecessary visibility qualifier` to be more clear

This updates the error message `error[E0449]: unnecessary visibility qualifier` by clearly indicating that visibility qualifiers already inherit their visibility from a parent item. The error message previously implied that the qualifiers were permitted, which is not the case anymore.

Resolves #109822.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions