Skip to content

Commit d03fdf8

Browse files
lib.rs: Replace removed private_in_public rule
The private_in_public rule has been replaced with three other lints: * private_interfaces * private_bounds * renamed_and_removed_lints Please refer to https://rust-lang.github.io/rfcs/2145-type-privacy.html for more information. Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
1 parent 86a83a9 commit d03fdf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
overflowing_literals,
1616
path_statements,
1717
patterns_in_fns_without_body,
18-
private_in_public,
18+
private_bounds,
19+
private_interfaces,
20+
renamed_and_removed_lints,
1921
trivial_casts,
2022
trivial_numeric_casts,
2123
unconditional_recursion,

0 commit comments

Comments
 (0)