2022-08-10 07:42:10 +00:00
|
|
|
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
|
2022-06-22 12:31:24 +00:00
|
|
|
|
2022-08-10 07:42:10 +00:00
|
|
|
privacy_from_private_dep_in_public_interface =
|
|
|
|
{$kind} `{$descr}` from private dependency '{$krate}' in public interface
|
2022-06-22 13:11:39 +00:00
|
|
|
|
2022-08-10 07:42:10 +00:00
|
|
|
privacy_in_public_interface = {$vis_descr} {$kind} `{$descr}` in public interface
|
2022-06-22 13:11:39 +00:00
|
|
|
.label = can't leak {$vis_descr} {$kind}
|
2022-08-10 07:42:10 +00:00
|
|
|
.visibility_label = `{$descr}` declared as {$vis_descr}
|
2022-07-11 15:29:24 +00:00
|
|
|
|
|
|
|
privacy_item_is_private = {$kind} `{$descr}` is private
|
|
|
|
.label = private {$kind}
|
2023-05-23 01:51:25 +00:00
|
|
|
|
2023-05-18 11:57:45 +00:00
|
|
|
privacy_private_interface_or_bounds_lint = {$ty_kind} `{$ty_descr}` is more private than the item `{$item_descr}`
|
2023-06-29 13:24:07 +00:00
|
|
|
.item_label = {$item_kind} `{$item_descr}` is reachable at visibility `{$item_vis_descr}`
|
2023-05-18 11:57:45 +00:00
|
|
|
.ty_note = but {$ty_kind} `{$ty_descr}` is only usable at visibility `{$ty_vis_descr}`
|
|
|
|
|
2022-09-12 07:57:34 +00:00
|
|
|
privacy_report_effective_visibility = {$descr}
|
2023-05-23 01:51:25 +00:00
|
|
|
|
2023-05-18 11:57:45 +00:00
|
|
|
privacy_unnameable_types_lint = {$kind} `{$descr}` is reachable but cannot be named
|
|
|
|
.label = reachable at visibility `{$reachable_vis}`, but can only be named at visibility `{$reexported_vis}`
|
|
|
|
|
2022-08-10 07:42:10 +00:00
|
|
|
privacy_unnamed_item_is_private = {$kind} is private
|
2022-06-22 12:42:30 +00:00
|
|
|
.label = private {$kind}
|