Fix with_emitter callers

This commit is contained in:
Esteban Küber 2019-03-07 11:15:47 -08:00
parent a7563a30c0
commit bc9b936290
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ fn test_harness(file_text: &str, span_labels: Vec<SpanLabel>, expected_output: &
Some(source_map.clone()),
false,
false);
let handler = Handler::with_emitter(true, false, Box::new(emitter));
let handler = Handler::with_emitter(true, None, Box::new(emitter));
handler.span_err(msp, "foo");
assert!(expected_output.chars().next() == Some('\n'),