MCPcopy Create free account
hub / github.com/RustCrypto/utils / zeroize_duplicate_skip_list

Function zeroize_duplicate_skip_list

zeroize_derive/src/lib.rs:764–773  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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")]

Callers

nothing calls this directly

Calls 1

parse_zeroize_testFunction · 0.85

Tested by

no test coverage detected