()
| 791 | #[test] |
| 792 | #[should_panic(expected = "duplicate #[zeroize] bound flags")] |
| 793 | fn zeroize_duplicate_bound() { |
| 794 | parse_zeroize_test(stringify!( |
| 795 | #[zeroize(bound = "T: MyTrait")] |
| 796 | #[zeroize(bound = "")] |
| 797 | struct Z<T>(T); |
| 798 | )); |
| 799 | } |
| 800 | |
| 801 | #[test] |
| 802 | #[should_panic(expected = "duplicate #[zeroize] bound flags")] |
nothing calls this directly
no test coverage detected