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:
Niko Matsakis
2015-04-01 15:25:47 -04:00
parent 15b58fedca
commit 19d3dab31b
8 changed files with 175 additions and 157 deletions

View File

@@ -147,7 +147,6 @@ pub mod slice;
pub mod str;
pub mod hash;
pub mod fmt;
pub mod error;
#[doc(primitive = "bool")]
mod bool {