diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2023-07-20 06:38:14 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2023-07-20 06:38:14 +0000 |
| commit | 7b5b87dee1c21efaf7e4b758991b5498fd07f8a4 (patch) | |
| tree | 0e0b28f754b343d037f243547756a48cc06a8ec7 /compiler/rustc_errors/src/json | |
| parent | dfb552e37ea7a8fca3bf19ed3a88be5d366bf27b (diff) | |
| parent | d97ec97b9486fe5798938e6842bda2385e906cbc (diff) | |
| download | rust-7b5b87dee1c21efaf7e4b758991b5498fd07f8a4.tar.gz rust-7b5b87dee1c21efaf7e4b758991b5498fd07f8a4.zip | |
Merge 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(); |
