diff --git a/tests/test_option.rs b/tests/test_option.rs index 5464b08..480170f 100644 --- a/tests/test_option.rs +++ b/tests/test_option.rs @@ -7,6 +7,7 @@ pub mod structs { #[derive(Error, Debug)] #[error("...")] + #[allow(dead_code)] pub struct OptSourceNoBacktrace { #[source] source: Option, @@ -14,6 +15,7 @@ pub mod structs { #[derive(Error, Debug)] #[error("...")] + #[allow(dead_code)] pub struct OptSourceAlwaysBacktrace { #[source] source: Option, @@ -22,6 +24,7 @@ pub mod structs { #[derive(Error, Debug)] #[error("...")] + #[allow(dead_code)] pub struct NoSourceOptBacktrace { #[backtrace] backtrace: Option, @@ -29,6 +32,7 @@ pub mod structs { #[derive(Error, Debug)] #[error("...")] + #[allow(dead_code)] pub struct AlwaysSourceOptBacktrace { source: anyhow::Error, #[backtrace] @@ -37,6 +41,7 @@ pub mod structs { #[derive(Error, Debug)] #[error("...")] + #[allow(dead_code)] pub struct OptSourceOptBacktrace { #[source] source: Option,