()
| 762 | #[test] |
| 763 | #[should_panic(expected = "duplicate #[zeroize] skip flags")] |
| 764 | fn zeroize_duplicate_skip_list() { |
| 765 | parse_zeroize_test(stringify!( |
| 766 | struct Z { |
| 767 | a: String, |
| 768 | #[zeroize(skip, skip)] |
| 769 | b: Vec<u8>, |
| 770 | c: [u8; 3], |
| 771 | } |
| 772 | )); |
| 773 | } |
| 774 | |
| 775 | #[test] |
| 776 | #[should_panic(expected = "duplicate #[zeroize] skip flags")] |
nothing calls this directly
no test coverage detected