diff --git a/parse-display-tests/tests/display.rs b/parse-display-tests/tests/display.rs index dbfe364..d729b51 100644 --- a/parse-display-tests/tests/display.rs +++ b/parse-display-tests/tests/display.rs @@ -866,7 +866,7 @@ fn bound_by_hand_with_auto() { assert_display(Outer(Inner(10), 20), "10,20"); } -#[deny(private_in_public)] +#[deny(private_bounds)] #[test] fn bound_struct_field() { #[derive(Display)] diff --git a/parse-display-tests/tests/from_str.rs b/parse-display-tests/tests/from_str.rs index 3133b85..c43001e 100644 --- a/parse-display-tests/tests/from_str.rs +++ b/parse-display-tests/tests/from_str.rs @@ -767,7 +767,7 @@ fn bound_predicate_struct() { #[test] fn different_bound() { - #![deny(private_in_public)] + #![deny(private_bounds)] #[derive(Display, FromStr, PartialEq, Debug)] #[display(bound("T : Display"))] @@ -793,7 +793,7 @@ fn bound_type_enum() { struct Inner(T); } -#[deny(private_in_public)] +#[deny(private_bounds)] #[test] fn bound_struct_field() { #[derive(FromStr)]