diff --git a/src/lib.rs b/src/lib.rs index ee9c8d5..42e9121 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,7 @@ #![cfg_attr(all(feature = "no_std", not(test)), no_std)] -#[cfg(all(nightly, not(feature = "no_std"), not(test)))] extern crate test; +#[cfg(all(nightly, test))] extern crate test; #[allow(unused)] use core::{