Merge pull request #2074 from GuillaumeGomez/emitter
Update to last Emitter update
This commit is contained in:
commit
4022b094f8
@ -521,6 +521,7 @@ pub fn format_input<T: Write>(
|
||||
let silent_emitter = Box::new(EmitterWriter::new(
|
||||
Box::new(Vec::new()),
|
||||
Some(codemap.clone()),
|
||||
false,
|
||||
));
|
||||
parse_session.span_diagnostic = Handler::with_emitter(true, false, silent_emitter);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user