Add short message-format
This commit is contained in:
parent
c0e0a38101
commit
83bca40350
10 changed files with 224 additions and 150 deletions
|
@ -60,7 +60,8 @@ fn test_harness(file_text: &str, span_labels: Vec<SpanLabel>, expected_output: &
|
|||
}
|
||||
|
||||
let emitter = EmitterWriter::new(Box::new(Shared { data: output.clone() }),
|
||||
Some(code_map.clone()));
|
||||
Some(code_map.clone()),
|
||||
false);
|
||||
let handler = Handler::with_emitter(true, false, Box::new(emitter));
|
||||
handler.span_err(msp, "foo");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue