diff options
| author | bors <bors@rust-lang.org> | 2016-08-25 20:45:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-25 20:45:32 -0700 |
| commit | eaf71f8d1034f16140791f566cab3f3c9a0bf96a (patch) | |
| tree | d7bdca8083a5457af6f42e4e93693fcd272c0ac8 /src/libstd/error.rs | |
| parent | e07dd59eaeb7be95afd2fb3dc131108ae750c91c (diff) | |
| parent | a9a2979dbaddc540673cf66da52e8eb45e66b055 (diff) | |
| download | rust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.tar.gz rust-eaf71f8d1034f16140791f566cab3f3c9a0bf96a.zip | |
Auto merge of #35906 - jseyfried:local_prelude, r=eddyb
Use `#[prelude_import]` in `libcore` and `libstd` r? @eddyb
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 914599271ac..44595361fb5 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -48,16 +48,15 @@ // reconsider what crate these items belong in. use any::TypeId; -use boxed::Box; use cell; use char; use fmt::{self, Debug, Display}; -use marker::{Send, Sync, Reflect}; +use marker::Reflect; use mem::transmute; use num; use raw::TraitObject; use str; -use string::{self, String}; +use string; /// Base functionality for all errors in Rust. #[stable(feature = "rust1", since = "1.0.0")] @@ -454,7 +453,6 @@ impl Error + Send + Sync { #[cfg(test)] mod tests { - use prelude::v1::*; use super::Error; use fmt; |
