tidy 😡
This commit is contained in:
parent
28f9ffbca1
commit
30a661409c
|
@ -141,7 +141,8 @@ pub fn run<F>(run_compiler: F) -> isize
|
|||
errors::emitter::EmitterWriter::stderr(errors::ColorConfig::Auto,
|
||||
None,
|
||||
true);
|
||||
let handler = errors::Handler::with_emitter(true, false, false, Box::new(emitter));
|
||||
let handler = errors::Handler::with_emitter(true, false, false,
|
||||
Box::new(emitter));
|
||||
handler.emit(&MultiSpan::new(),
|
||||
"aborting due to previous error(s)",
|
||||
errors::Level::Fatal);
|
||||
|
|
|
@ -81,7 +81,9 @@ pub fn run(input: &str,
|
|||
|
||||
let codemap = Rc::new(CodeMap::new(sessopts.file_path_mapping()));
|
||||
let handler =
|
||||
errors::Handler::with_tty_emitter(ColorConfig::Auto, true, false, false, Some(codemap.clone()));
|
||||
errors::Handler::with_tty_emitter(ColorConfig::Auto,
|
||||
true, false, false,
|
||||
Some(codemap.clone()));
|
||||
|
||||
let cstore = Rc::new(CStore::new(box rustc_trans::LlvmMetadataLoader));
|
||||
let mut sess = session::build_session_(
|
||||
|
|
Loading…
Reference in New Issue