From e963d5df29e9c04cb24dfc7d0b3553d286bb1986 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Wed, 13 Mar 2024 12:55:19 +0100 Subject: [PATCH] test: allow dead code in tests --- src/api.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api.rs b/src/api.rs index 4e82cd2a..002dfb2f 100644 --- a/src/api.rs +++ b/src/api.rs @@ -402,6 +402,8 @@ mod test { #[test] fn test() { + #![allow(dead_code)] + #[derive(Clone, PartialEq, Eq, Hash, Debug, Default)] #[derive(Serialize, Deserialize)] #[serde(crate = "serde_crate")]