about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json/tests.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-07-27 09:29:22 +0200
committerRalf Jung <post@ralfj.de>2023-07-27 09:29:22 +0200
commite5bede18f6b1df9d91e1516a7ac79cacbf1f8a9b (patch)
tree413bbb08d04b88e810db6d1423d5a71d1e280fc7 /compiler/rustc_errors/src/json/tests.rs
parent3a1a03a1cc56067b54ae198b1426245677954fd7 (diff)
parentd150dbb067e66f351a0b33a54e7d4b464ef51e47 (diff)
downloadrust-e5bede18f6b1df9d91e1516a7ac79cacbf1f8a9b.tar.gz
rust-e5bede18f6b1df9d91e1516a7ac79cacbf1f8a9b.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_errors/src/json/tests.rs')
-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();