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-27 07:30:47 +0000
committerbors <bors@rust-lang.org>2023-07-27 07:30:47 +0000
commit186fe5327e4f7b17bd03f9125a34697562c00c30 (patch)
tree01133cae02f8b1c5739e9495a0fa050ad9b0bea9 /compiler/rustc_errors/src/json
parent6ac86bb19f9102a1f887afde3395d066db62d743 (diff)
parentbf296bb1ce0796afc4a36ff4588e3389a952c6aa (diff)
downloadrust-186fe5327e4f7b17bd03f9125a34697562c00c30.tar.gz
rust-186fe5327e4f7b17bd03f9125a34697562c00c30.zip
Auto merge of #2994 - RalfJung:rustup, r=RalfJung
Rustup
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 db0dd4ffe8e..1f9a2981e02 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), None);
+        let handler = Handler::with_emitter(Box::new(je));
         handler.span_err(span, "foo");
 
         let bytes = output.lock().unwrap();