about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-17 23:30:49 +0200
committerGitHub <noreply@github.com>2022-09-17 23:30:49 +0200
commita6b34cd928f663acdeb36b1f0467f55516ca37da (patch)
treefc8e71bbfa6c1a8f05d2cd77db063484ce4af89d /compiler/rustc_error_messages
parent83623215adfe49f81ad9e3786c7c22e073070bb6 (diff)
parentd7b9221405c7f852663a7c5bef660582cb5cd972 (diff)
downloadrust-a6b34cd928f663acdeb36b1f0467f55516ca37da.tar.gz
rust-a6b34cd928f663acdeb36b1f0467f55516ca37da.zip
Rollup merge of #101713 - Bryanskiy:AccessLevels, r=petrochenkov
change AccessLevels representation

Part of RFC (https://github.com/rust-lang/rust/issues/48054). This patch implements effective visibility table with basic methods and change AccessLevels table representation according to it.

r? ``@petrochenkov``
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/privacy.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/privacy.ftl b/compiler/rustc_error_messages/locales/en-US/privacy.ftl
index da987152ff6..a26d1b2b381 100644
--- a/compiler/rustc_error_messages/locales/en-US/privacy.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/privacy.ftl
@@ -11,7 +11,7 @@ privacy_in_public_interface = {$vis_descr} {$kind} `{$descr}` in public interfac
     .label = can't leak {$vis_descr} {$kind}
     .visibility_label = `{$descr}` declared as {$vis_descr}
 
-privacy_report_access_level = {$descr}
+privacy_report_effective_visibility = {$descr}
 
 privacy_from_private_dep_in_public_interface =
     {$kind} `{$descr}` from private dependency '{$krate}' in public interface