Implement -Ztrack-diagnostics

This commit is contained in:
mejrs 2022-10-19 00:08:20 +02:00
parent a24a020e6d
commit 406e1dc8eb
18 changed files with 176 additions and 8 deletions

View file

@ -151,6 +151,7 @@ fn test_harness(file_text: &str, span_labels: Vec<SpanLabel>, expected_output: &
false,
None,
false,
false,
);
let handler = Handler::with_emitter(true, None, Box::new(emitter));
handler.span_err(msp, "foo");