()
| 651 | #[test] |
| 652 | #[should_panic(expected = "#[zeroize(drop)] attribute is not allowed on enum fields")] |
| 653 | fn zeroize_on_tuple_enum_variant_field() { |
| 654 | parse_zeroize_test(stringify!( |
| 655 | enum Z { |
| 656 | Variant(#[zeroize(drop)] String), |
| 657 | } |
| 658 | )); |
| 659 | } |
| 660 | |
| 661 | #[test] |
| 662 | #[should_panic(expected = "#[zeroize(drop)] attribute is not allowed on enum fields")] |
nothing calls this directly
no test coverage detected