Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_struct
Function · 0.85
zeroize_on_enum
Function · 0.85
zeroize_on_struct_field
Function · 0.85
zeroize_on_tuple_struct_field
Function · 0.85
zeroize_on_second_field
Function · 0.85
zeroize_on_tuple_enum_variant_field
Function · 0.85
zeroize_on_enum_variant_field
Function · 0.85
zeroize_on_enum_second_variant_field
Function · 0.85
zeroize_on_enum_variant
Function · 0.85
zeroize_on_enum_second_variant
Function · 0.85
zeroize_skip_on_struct
Function · 0.85
zeroize_skip_on_enum
Function · 0.85
Calls
2
derive_zeroize_impl
Function · 0.85
expect
Method · 0.80
Tested by
2
zeroize_on_struct
Function · 0.68
zeroize_on_enum
Function · 0.68