()
| 721 | expected = "The #[zeroize(skip)] attribute is not allowed on a `struct` or `enum`. Use it on a field or variant instead." |
| 722 | )] |
| 723 | fn zeroize_skip_on_struct() { |
| 724 | parse_zeroize_test(stringify!( |
| 725 | #[zeroize(skip)] |
| 726 | struct Z { |
| 727 | a: String, |
| 728 | b: Vec<u8>, |
| 729 | c: [u8; 3], |
| 730 | } |
| 731 | )); |
| 732 | } |
| 733 | |
| 734 | #[test] |
| 735 | #[should_panic( |
nothing calls this directly
no test coverage detected