diff options
| author | Bryanskiy <ivakin.kir@gmail.com> | 2023-06-19 17:06:00 +0300 |
|---|---|---|
| committer | Bryanskiy <ivakin.kir@gmail.com> | 2023-08-02 13:40:28 +0300 |
| commit | e26614e6a7f8003dfd2a756db070c6d04ca34c6f (patch) | |
| tree | 22bc39fc5f1b096999c0d39a245e9b6261efcdc8 /compiler/rustc_privacy/messages.ftl | |
| parent | 5cbfee545543a8e3d91c54997c6bcd24d2054321 (diff) | |
| download | rust-e26614e6a7f8003dfd2a756db070c6d04ca34c6f.tar.gz rust-e26614e6a7f8003dfd2a756db070c6d04ca34c6f.zip | |
Replace old private-in-public diagnostic with type privacy lints
Diffstat (limited to 'compiler/rustc_privacy/messages.ftl')
| -rw-r--r-- | compiler/rustc_privacy/messages.ftl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_privacy/messages.ftl b/compiler/rustc_privacy/messages.ftl index b91e0d18a80..7785f1a7f81 100644 --- a/compiler/rustc_privacy/messages.ftl +++ b/compiler/rustc_privacy/messages.ftl @@ -11,11 +11,6 @@ privacy_in_public_interface = {$vis_descr} {$kind} `{$descr}` in public interfac privacy_item_is_private = {$kind} `{$descr}` is private .label = private {$kind} -privacy_private_in_public_lint = - {$vis_descr} {$kind} `{$descr}` in public interface (error {$kind -> - [trait] E0445 - *[other] E0446 - }) privacy_private_interface_or_bounds_lint = {$ty_kind} `{$ty_descr}` is more private than the item `{$item_descr}` .item_label = {$item_kind} `{$item_descr}` is reachable at visibility `{$item_vis_descr}` |
