diff --git a/der/src/error.rs b/der/src/error.rs index 902863d49..6ef89f2bd 100644 --- a/der/src/error.rs +++ b/der/src/error.rs @@ -70,8 +70,7 @@ impl Error { } } -#[cfg(feature = "std")] -impl std::error::Error for Error {} +impl core::error::Error for Error {} impl fmt::Display for Error { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {