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

Function parse_zeroize_test

zeroize_derive/src/lib.rs:440–442  ·  view source on GitHub ↗
(unparsed: &str)

Source from the content-addressed store, hash-verified

438
439 #[track_caller]
440 fn parse_zeroize_test(unparsed: &str) -> TokenStream {
441 derive_zeroize_impl(syn::parse_str(unparsed).expect("Failed to parse test input"))
442 }
443
444 #[test]
445 fn zeroize_without_drop() {

Callers 15

zeroize_on_structFunction · 0.85
zeroize_on_enumFunction · 0.85
zeroize_on_struct_fieldFunction · 0.85
zeroize_on_second_fieldFunction · 0.85
zeroize_on_enum_variantFunction · 0.85
zeroize_skip_on_structFunction · 0.85
zeroize_skip_on_enumFunction · 0.85

Calls 2

derive_zeroize_implFunction · 0.85
expectMethod · 0.80

Tested by 2

zeroize_on_structFunction · 0.68
zeroize_on_enumFunction · 0.68