summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_privacy/locales/en-US.ftl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:50 +0000
commit2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35 (patch)
treed325add32978dbdc1db975a438b3a77d571b1ab8 /compiler/rustc_privacy/locales/en-US.ftl
parentReleasing progress-linux version 1.68.2+dfsg1-1~progress7.99u1. (diff)
downloadrustc-2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35.tar.xz
rustc-2e00214b3efbdfeefaa0fe9e8b8fd519de7adc35.zip
Merging upstream version 1.69.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'compiler/rustc_privacy/locales/en-US.ftl')
-rw-r--r--compiler/rustc_privacy/locales/en-US.ftl23
1 files changed, 23 insertions, 0 deletions
diff --git a/compiler/rustc_privacy/locales/en-US.ftl b/compiler/rustc_privacy/locales/en-US.ftl
new file mode 100644
index 000000000..a26d1b2b3
--- /dev/null
+++ b/compiler/rustc_privacy/locales/en-US.ftl
@@ -0,0 +1,23 @@
+privacy_field_is_private = field `{$field_name}` of {$variant_descr} `{$def_path_str}` is private
+privacy_field_is_private_is_update_syntax_label = field `{$field_name}` is private
+privacy_field_is_private_label = private field
+
+privacy_item_is_private = {$kind} `{$descr}` is private
+ .label = private {$kind}
+privacy_unnamed_item_is_private = {$kind} is private
+ .label = private {$kind}
+
+privacy_in_public_interface = {$vis_descr} {$kind} `{$descr}` in public interface
+ .label = can't leak {$vis_descr} {$kind}
+ .visibility_label = `{$descr}` declared as {$vis_descr}
+
+privacy_report_effective_visibility = {$descr}
+
+privacy_from_private_dep_in_public_interface =
+ {$kind} `{$descr}` from private dependency '{$krate}' in public interface
+
+privacy_private_in_public_lint =
+ {$vis_descr} {$kind} `{$descr}` in public interface (error {$kind ->
+ [trait] E0445
+ *[other] E0446
+ })