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

Function zeroize_duplicate_bound_list

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

Source from the content-addressed store, hash-verified

801 #[test]
802 #[should_panic(expected = "duplicate #[zeroize] bound flags")]
803 fn zeroize_duplicate_bound_list() {
804 parse_zeroize_test(stringify!(
805 #[zeroize(bound = "T: MyTrait", bound = "")]
806 struct Z<T>(T);
807 ));
808 }
809
810 #[test]
811 #[should_panic(

Callers

nothing calls this directly

Calls 1

parse_zeroize_testFunction · 0.85

Tested by

no test coverage detected