diff options
| author | bors <bors@rust-lang.org> | 2016-05-08 04:50:27 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-05-08 04:50:27 -0700 |
| commit | 8e414e0e3f27d1917d11ee80de827698beb53891 (patch) | |
| tree | 6884dc4b4bc5c05c2541f97eaecb472c0b758818 /src/libstd | |
| parent | 48968329888948db8e49e307faf589a867dafa05 (diff) | |
| parent | 282afda58afc282aa9e4d6f31c28f6d950d1e0b1 (diff) | |
| download | rust-8e414e0e3f27d1917d11ee80de827698beb53891.tar.gz rust-8e414e0e3f27d1917d11ee80de827698beb53891.zip | |
Auto merge of #33091 - sanxiyn:unused-trait-import-3, r=nrc
Warn unused trait imports, rebased Rebase of #30021. Fix #25730.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/bench.rs | 1 | ||||
| -rw-r--r-- | src/libstd/io/error.rs | 1 | ||||
| -rw-r--r-- | src/libstd/sys/windows/fs.rs | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/collections/hash/bench.rs b/src/libstd/collections/hash/bench.rs index 9fae9af2d54..a1275d23d57 100644 --- a/src/libstd/collections/hash/bench.rs +++ b/src/libstd/collections/hash/bench.rs @@ -11,7 +11,6 @@ #![cfg(test)] extern crate test; -use prelude::v1::*; use self::test::Bencher; diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs index 9a605fc7bbf..e142c78569b 100644 --- a/src/libstd/io/error.rs +++ b/src/libstd/io/error.rs @@ -350,7 +350,6 @@ mod test { use prelude::v1::*; use super::{Error, ErrorKind}; use error; - use error::Error as error_Error; use fmt; use sys::os::error_string; diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs index 529e42248f6..3cd45afaf01 100644 --- a/src/libstd/sys/windows/fs.rs +++ b/src/libstd/sys/windows/fs.rs @@ -9,7 +9,6 @@ // except according to those terms. use prelude::v1::*; -use io::prelude::*; use os::windows::prelude::*; use ffi::OsString; |
