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]