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

Function derive_zeroize_unused_param

zeroize/tests/zeroize_derive.rs:336–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

334#[allow(dead_code)]
335#[allow(unused_assignments)]
336fn derive_zeroize_unused_param() {
337 #[derive(Zeroize)]
338 struct Z<T> {
339 arr: [u32; 5],
340 #[zeroize(skip)]
341 skipped: T,
342 }
343}
344
345#[test]
346#[allow(dead_code)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected