From 850f6c0491822b41b3c6f9e46065a9e61b277a29 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 19 Feb 2024 12:32:06 +0000 Subject: [PATCH] chore: allow unused trait in test --- actix-utils/src/future/poll_fn.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/actix-utils/src/future/poll_fn.rs b/actix-utils/src/future/poll_fn.rs index 0c798f46..09638bcf 100644 --- a/actix-utils/src/future/poll_fn.rs +++ b/actix-utils/src/future/poll_fn.rs @@ -103,6 +103,7 @@ mod tests { #[allow(dead_code)] fn require_sync(_t: &T) {} + #[allow(unused)] trait AmbiguousIfUnpin { fn some_item(&self) {} }