diff --git a/tests/test_backtrace.rs b/tests/test_backtrace.rs index 2a4cffa..cc25676 100644 --- a/tests/test_backtrace.rs +++ b/tests/test_backtrace.rs @@ -1,3 +1,4 @@ +#![cfg(feature = "std")] #![cfg_attr(thiserror_nightly_testing, feature(error_generic_member_access))] use thiserror::Error; diff --git a/tests/test_option.rs b/tests/test_option.rs index fbdbec0..21cd5e1 100644 --- a/tests/test_option.rs +++ b/tests/test_option.rs @@ -1,3 +1,4 @@ +#![cfg(feature = "std")] #![cfg_attr(thiserror_nightly_testing, feature(error_generic_member_access))] #[cfg(thiserror_nightly_testing)]