about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-20 06:41:03 +0000
committerbors <bors@rust-lang.org>2023-07-20 06:41:03 +0000
commite643e0d29f16c8cdd114c3c6e073b131c4e6d5bf (patch)
tree0e0b28f754b343d037f243547756a48cc06a8ec7 /compiler/rustc_errors/src/json
parentf4754ed80c53a3bd125243421065b7af3e7a1faf (diff)
parent7b5b87dee1c21efaf7e4b758991b5498fd07f8a4 (diff)
downloadrust-e643e0d29f16c8cdd114c3c6e073b131c4e6d5bf.tar.gz
rust-e643e0d29f16c8cdd114c3c6e073b131c4e6d5bf.zip
Auto merge of #2987 - rust-lang:rustup-2023-07-20, r=oli-obk
Automatic sync from rustc
Diffstat (limited to 'compiler/rustc_errors/src/json')
-rw-r--r--compiler/rustc_errors/src/json/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/json/tests.rs b/compiler/rustc_errors/src/json/tests.rs
index 671dc449eaa..db0dd4ffe8e 100644
--- a/compiler/rustc_errors/src/json/tests.rs
+++ b/compiler/rustc_errors/src/json/tests.rs
@@ -64,7 +64,7 @@ fn test_positions(code: &str, span: (u32, u32), expected_output: SpanTestData) {
         );
 
         let span = Span::with_root_ctxt(BytePos(span.0), BytePos(span.1));
-        let handler = Handler::with_emitter(true, None, Box::new(je));
+        let handler = Handler::with_emitter(true, None, Box::new(je), None);
         handler.span_err(span, "foo");
 
         let bytes = output.lock().unwrap();