diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs index afa5a3b38ba27..1e5f88dac49bc 100644 --- a/src/libsyntax/codemap.rs +++ b/src/libsyntax/codemap.rs @@ -828,6 +828,7 @@ impl CodeMapper for CodeMap { mod tests { use super::*; use std::io::{self, Write}; + use errors::snippet::StyledString; use std::rc::Rc; #[test]