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

Function zeroize_bound_no_where_predicate

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

Source from the content-addressed store, hash-verified

862 #[test]
863 #[should_panic(expected = "error parsing bounds: LitStr { token: \"T\" } (expected `:`)")]
864 fn zeroize_bound_no_where_predicate() {
865 parse_zeroize_test(stringify!(
866 #[zeroize(bound = "T")]
867 struct Z<T>(T);
868 ));
869 }
870}

Callers

nothing calls this directly

Calls 1

parse_zeroize_testFunction · 0.85

Tested by

no test coverage detected