Collect the definition of the Error trait into libstd for now. This
sidesteps a coherence difficulty where `liballoc` had to prove that `&str: !Error`, which didn't involve any local types.
This commit is contained in:
@@ -147,7 +147,6 @@ pub mod slice;
|
||||
pub mod str;
|
||||
pub mod hash;
|
||||
pub mod fmt;
|
||||
pub mod error;
|
||||
|
||||
#[doc(primitive = "bool")]
|
||||
mod bool {
|
||||
|
||||
Reference in New Issue
Block a user