()
| 775 | #[test] |
| 776 | #[should_panic(expected = "duplicate #[zeroize] skip flags")] |
| 777 | fn zeroize_duplicate_skip_enum() { |
| 778 | parse_zeroize_test(stringify!( |
| 779 | enum Z { |
| 780 | #[zeroize(skip)] |
| 781 | Variant { |
| 782 | a: String, |
| 783 | #[zeroize(skip)] |
| 784 | b: Vec<u8>, |
| 785 | c: [u8; 3], |
| 786 | }, |
| 787 | } |
| 788 | )); |
| 789 | } |
| 790 | |
| 791 | #[test] |
| 792 | #[should_panic(expected = "duplicate #[zeroize] bound flags")] |
nothing calls this directly
no test coverage detected