diff --git a/build/probe.rs b/build/probe.rs index 2843787..faf25c5 100644 --- a/build/probe.rs +++ b/build/probe.rs @@ -4,8 +4,8 @@ #![feature(error_generic_member_access)] -use std::error::{Error, Request}; use core::fmt::{self, Debug, Display}; +use std::error::{Error, Request}; struct MyError(Thing); struct Thing; diff --git a/src/aserror.rs b/src/aserror.rs index 4cd0fec..11cb4d9 100644 --- a/src/aserror.rs +++ b/src/aserror.rs @@ -1,5 +1,5 @@ -use std::error::Error; use core::panic::UnwindSafe; +use std::error::Error; #[doc(hidden)] pub trait AsDynError<'a>: Sealed {