Replace old private-in-public diagnostic with type privacy lints
This commit is contained in:
parent
5cbfee5455
commit
e26614e6a7
68 changed files with 862 additions and 1700 deletions
|
@ -516,6 +516,11 @@ fn register_builtins(store: &mut LintStore) {
|
|||
"converted into hard error, see issue #82523 \
|
||||
<https://github.com/rust-lang/rust/issues/82523> for more information",
|
||||
);
|
||||
store.register_removed(
|
||||
"private_in_public",
|
||||
"replaced with another group of lints, see RFC \
|
||||
<https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information",
|
||||
);
|
||||
}
|
||||
|
||||
fn register_internals(store: &mut LintStore) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue