Skip to content

Commit 30a6614

Browse files
committed
tidy 😡
1 parent 28f9ffb commit 30a6614

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/librustc_driver/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ pub fn run<F>(run_compiler: F) -> isize
141141
errors::emitter::EmitterWriter::stderr(errors::ColorConfig::Auto,
142142
None,
143143
true);
144-
let handler = errors::Handler::with_emitter(true, false, false, Box::new(emitter));
144+
let handler = errors::Handler::with_emitter(true, false, false,
145+
Box::new(emitter));
145146
handler.emit(&MultiSpan::new(),
146147
"aborting due to previous error(s)",
147148
errors::Level::Fatal);

src/librustdoc/test.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ pub fn run(input: &str,
8181

8282
let codemap = Rc::new(CodeMap::new(sessopts.file_path_mapping()));
8383
let handler =
84-
errors::Handler::with_tty_emitter(ColorConfig::Auto, true, false, false, Some(codemap.clone()));
84+
errors::Handler::with_tty_emitter(ColorConfig::Auto,
85+
true, false, false,
86+
Some(codemap.clone()));
8587

8688
let cstore = Rc::new(CStore::new(box rustc_trans::LlvmMetadataLoader));
8789
let mut sess = session::build_session_(

0 commit comments

Comments
 (0)