diff options
| author | Ralf Jung <post@ralfj.de> | 2023-07-27 09:29:22 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-07-27 09:29:22 +0200 |
| commit | e5bede18f6b1df9d91e1516a7ac79cacbf1f8a9b (patch) | |
| tree | 413bbb08d04b88e810db6d1423d5a71d1e280fc7 /compiler/rustc_errors/src/json/tests.rs | |
| parent | 3a1a03a1cc56067b54ae198b1426245677954fd7 (diff) | |
| parent | d150dbb067e66f351a0b33a54e7d4b464ef51e47 (diff) | |
| download | rust-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.rs | 2 |
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(); |
