()
| 630 | #[test] |
| 631 | #[should_panic(expected = "#[zeroize(drop)] attribute is not allowed on struct fields")] |
| 632 | fn zeroize_on_tuple_struct_field() { |
| 633 | parse_zeroize_test(stringify!( |
| 634 | struct Z(#[zeroize(drop)] String); |
| 635 | )); |
| 636 | } |
| 637 | |
| 638 | #[test] |
| 639 | #[should_panic(expected = "#[zeroize(drop)] attribute is not allowed on struct fields")] |
nothing calls this directly
no test coverage detected