diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2016-04-12 22:58:55 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2016-04-12 22:58:55 +0900 |
| commit | 01fb27f64814dbd2fef755af4fd6197b1fe74240 (patch) | |
| tree | 57c5c1aaeb0ab5da32fc1fc9474592c89d95af25 /src/libsyntax/errors | |
| parent | c0221c8897db309a79990367476177b1230bb264 (diff) | |
| download | rust-01fb27f64814dbd2fef755af4fd6197b1fe74240.tar.gz rust-01fb27f64814dbd2fef755af4fd6197b1fe74240.zip | |
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) } } |
