diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 15:25:47 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 15:25:47 -0400 |
| commit | 19d3dab31b1fca3abc3ba00173b9148bd70d24b0 (patch) | |
| tree | 1be2f77b15b0c96a7021aa4fe360390f173c4284 /src/libstd/lib.rs | |
| parent | 15b58fedcacba7d10a9f7d460a83da645a09ad3e (diff) | |
| download | rust-19d3dab31b1fca3abc3ba00173b9148bd70d24b0.tar.gz rust-19d3dab31b1fca3abc3ba00173b9148bd70d24b0.zip | |
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.
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 41ac3d60df5..807f0c5753e 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -183,7 +183,7 @@ pub use core::raw; pub use core::simd; pub use core::result; pub use core::option; -pub use core::error; +pub mod error; #[cfg(not(test))] pub use alloc::boxed; pub use alloc::rc; |
