2022-08-10 02:42:10 -05: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 07:31:24 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
privacy_item_is_private = {$kind} `{$descr}` is private
|
2022-06-22 07:31:24 -05:00
|
|
|
.label = private {$kind}
|
2022-08-10 02:42:10 -05:00
|
|
|
privacy_unnamed_item_is_private = {$kind} is private
|
2022-06-22 07:42:30 -05:00
|
|
|
.label = private {$kind}
|
2022-06-22 08:11:39 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
privacy_in_public_interface = {$vis_descr} {$kind} `{$descr}` in public interface
|
2022-06-22 08:11:39 -05:00
|
|
|
.label = can't leak {$vis_descr} {$kind}
|
2022-08-10 02:42:10 -05:00
|
|
|
.visibility_label = `{$descr}` declared as {$vis_descr}
|
2022-07-11 10:29:24 -05:00
|
|
|
|
2022-08-10 02:42:10 -05:00
|
|
|
privacy_from_private_dep_in_public_interface =
|
2022-07-11 10:29:24 -05:00
|
|
|
{$kind} `{$descr}` from private dependency '{$krate}' in public interface
|
|
|
|
|
2022-08-17 05:09:06 -05:00
|
|
|
privacy_private_in_public_lint =
|
2022-07-11 10:29:24 -05:00
|
|
|
{$vis_descr} {$kind} `{$descr}` in public interface (error {$kind ->
|
|
|
|
[trait] E0445
|
|
|
|
*[other] E0446
|
|
|
|
})
|