From 4f575530c790524b026111c489fccd4c36b0e468 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Thu, 20 May 2021 14:08:01 -0700 Subject: [PATCH] Hide dead code warning in tests --- tests/async_tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/async_tests.rs b/tests/async_tests.rs index 9e60c35..4ee961d 100644 --- a/tests/async_tests.rs +++ b/tests/async_tests.rs @@ -3,6 +3,7 @@ #[macro_export] macro_rules! async_tests { ( $runner:ident { $( $name:ident : async $eval:block, )* } ) => { + #[allow(dead_code)] fn $runner(_: &[()]) { env_logger::init();