diff options
| author | bors <bors@rust-lang.org> | 2023-07-20 06:41:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-20 06:41:03 +0000 |
| commit | e643e0d29f16c8cdd114c3c6e073b131c4e6d5bf (patch) | |
| tree | 0e0b28f754b343d037f243547756a48cc06a8ec7 /compiler/rustc_errors/src/json | |
| parent | f4754ed80c53a3bd125243421065b7af3e7a1faf (diff) | |
| parent | 7b5b87dee1c21efaf7e4b758991b5498fd07f8a4 (diff) | |
| download | rust-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.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 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(); |
