diff --git a/embedded-io/src/lib.rs b/embedded-io/src/lib.rs index 1412f7e6..5f4e48e3 100644 --- a/embedded-io/src/lib.rs +++ b/embedded-io/src/lib.rs @@ -176,7 +176,7 @@ impl From for ErrorKind { /// /// This trait allows generic code to do limited inspecting of errors, /// to react differently to different kinds. -pub trait Error: fmt::Debug { +pub trait Error: fmt::Debug + core::error::Error { /// Get the kind of this error. fn kind(&self) -> ErrorKind; }