diff --git a/tests/test_derive_attr.rs b/tests/test_derive_attr.rs index 19487a0..44c520a 100644 --- a/tests/test_derive_attr.rs +++ b/tests/test_derive_attr.rs @@ -159,6 +159,9 @@ fn transparent_generic() { Custom, } + std::hint::black_box(Combined::::Other(1)); + std::hint::black_box(Combined::::Custom); + assert_impl_diagnostic::>(); } @@ -260,6 +263,9 @@ fn generic_diagnostic_source() { Custom, } + std::hint::black_box(Combined::::Other(1)); + std::hint::black_box(Combined::::Custom); + assert_impl_diagnostic::>(); } @@ -273,5 +279,8 @@ fn generic_not_influencing_default() { Custom, } + std::hint::black_box(Combined::::Other(1)); + std::hint::black_box(Combined::::Custom); + assert_impl_diagnostic::>(); }