diff options
| author | bors <bors@rust-lang.org> | 2016-04-16 18:31:11 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-16 18:31:11 -0700 |
| commit | 054a4b4019efe1f4a9800a5a322c4a0da5aef11c (patch) | |
| tree | 26146e62960b7b89bd8304ae62c22c8dc154c5e4 /src/libsyntax/errors | |
| parent | ae33aa74f4e03b11a9a82e10dbf7369c3ae6bd04 (diff) | |
| parent | 01fb27f64814dbd2fef755af4fd6197b1fe74240 (diff) | |
| download | rust-054a4b4019efe1f4a9800a5a322c4a0da5aef11c.tar.gz rust-054a4b4019efe1f4a9800a5a322c4a0da5aef11c.zip | |
Auto merge of #32909 - sanxiyn:unused-trait-import-2, r=alexcrichton
Remove unused trait imports
Diffstat (limited to 'src/libsyntax/errors')
| -rw-r--r-- | src/libsyntax/errors/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/errors/mod.rs b/src/libsyntax/errors/mod.rs index c8c12d5a883..acf65fe15b1 100644 --- a/src/libsyntax/errors/mod.rs +++ b/src/libsyntax/errors/mod.rs @@ -19,7 +19,6 @@ use errors::emitter::{Emitter, EmitterWriter}; use std::cell::{RefCell, Cell}; use std::{error, fmt}; -use std::io::prelude::*; use std::rc::Rc; use term; @@ -653,8 +652,6 @@ pub enum Level { impl fmt::Display for Level { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - use std::fmt::Display; - self.to_str().fmt(f) } } |
