Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions zeroize_derive/src/lib.rs
Original file line numberDiff line numberDiff line change
Expand Up@@ -454,7 +454,7 @@ mod tests {
impl ::zeroize::Zeroize for Z {
fn zeroize(&mut self) {
match self {
#[allow(unused_variables)]
#[allow(unused_variables, unused_assignments)]
Z { a, b, c } => {
a.zeroize();
b.zeroize();
Expand DownExpand Up@@ -484,7 +484,7 @@ mod tests {
impl ::zeroize::Zeroize for Z {
fn zeroize(&mut self) {
match self {
#[allow(unused_variables)]
#[allow(unused_variables, unused_assignments)]
Z { a, b, c } => {
a.zeroize();
b.zeroize();
Expand DownExpand Up@@ -520,7 +520,7 @@ mod tests {
impl ::zeroize::Zeroize for Z {
fn zeroize(&mut self) {
match self {
#[allow(unused_variables)]
#[allow(unused_variables, unused_assignments)]
Z { a, b, c } => {
a.zeroize();
b.zeroize()
Expand All@@ -545,7 +545,7 @@ mod tests {
impl<T> ::zeroize::Zeroize for Z<T> where T: MyTrait {
fn zeroize(&mut self) {
match self {
#[allow(unused_variables)]
#[allow(unused_variables, unused_assignments)]
Z(__zeroize_field_0) => {
__zeroize_field_0.zeroize()
}
Expand DownExpand Up@@ -574,7 +574,7 @@ mod tests {
use ::zeroize::__internal::AssertZeroize;
use ::zeroize::__internal::AssertZeroizeOnDrop;
match self {
#[allow(unused_variables)]
#[allow(unused_variables, unused_assignments)]
Z { a, b, c } => {
a.zeroize_or_on_drop();
b.zeroize_or_on_drop();
Expand Down