()
| 748 | #[test] |
| 749 | #[should_panic(expected = "duplicate #[zeroize] skip flags")] |
| 750 | fn zeroize_duplicate_skip() { |
| 751 | parse_zeroize_test(stringify!( |
| 752 | struct Z { |
| 753 | a: String, |
| 754 | #[zeroize(skip)] |
| 755 | #[zeroize(skip)] |
| 756 | b: Vec<u8>, |
| 757 | c: [u8; 3], |
| 758 | } |
| 759 | )); |
| 760 | } |
| 761 | |
| 762 | #[test] |
| 763 | #[should_panic(expected = "duplicate #[zeroize] skip flags")] |
nothing calls this directly
no test coverage detected