diff --git a/tests/throws.rs b/tests/throws.rs index fe59f9e..8f57349 100644 --- a/tests/throws.rs +++ b/tests/throws.rs @@ -144,6 +144,7 @@ pub fn unreachable() { todo!() } +#[allow(dead_code)] trait Example { #[throws] fn foo() -> i32; diff --git a/tests/try.rs b/tests/try.rs index 7a526b2..4a9bbd4 100644 --- a/tests/try.rs +++ b/tests/try.rs @@ -141,6 +141,7 @@ pub fn unreachable() -> Result<(), i32> { todo!() } +#[allow(dead_code)] trait Example { #[try_fn] fn foo() -> Result;