From c63a60978f15a4a04decdf9f6302302a9c3a9a2b Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 19 Oct 2021 15:54:30 +0100 Subject: [PATCH] guard macro test on macro feature --- actix-rt/tests/test-macro-import-conflict.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actix-rt/tests/test-macro-import-conflict.rs b/actix-rt/tests/test-macro-import-conflict.rs index c2c00b61..3760d34c 100644 --- a/actix-rt/tests/test-macro-import-conflict.rs +++ b/actix-rt/tests/test-macro-import-conflict.rs @@ -6,6 +6,8 @@ //! //! Prevented by using the fully-qualified test marker (`#[::core::prelude::v1::test]`). +#![cfg(feature = "macros")] + use actix_rt::time as test; #[actix_rt::test]