diff --git a/serial_test_derive/src/lib.rs b/serial_test_derive/src/lib.rs index 5ff5e78..abc4834 100644 --- a/serial_test_derive/src/lib.rs +++ b/serial_test_derive/src/lib.rs @@ -779,6 +779,7 @@ mod tests { } #[test] + #[cfg(feature = "async")] fn test_mod_with_async() { init(); let attrs = proc_macro2::TokenStream::new();