diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-01-26 05:11:44 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-01-26 05:11:44 +0000 |
| commit | 06db6bba3b6f9853d692cc20ade7fbc121e27573 (patch) | |
| tree | e52f559fa38a8bb7c6f1d26ef966b9884f7892d9 /compiler/rustc_errors/src/json | |
| parent | 7209ae6dd021747401f6228318a10c8e7708efa0 (diff) | |
| parent | 2f0ad2a71e4a4528bb80bcb24bf8fa4e50cb87c2 (diff) | |
| download | rust-06db6bba3b6f9853d692cc20ade7fbc121e27573.tar.gz rust-06db6bba3b6f9853d692cc20ade7fbc121e27573.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 0de555b83d3..cebaf7c1cfe 100644 --- a/compiler/rustc_errors/src/json/tests.rs +++ b/compiler/rustc_errors/src/json/tests.rs @@ -47,7 +47,7 @@ fn test_positions(code: &str, span: (u32, u32), expected_output: SpanTestData) { let output = Arc::new(Mutex::new(Vec::new())); let je = JsonEmitter::new( Box::new(Shared { data: output.clone() }), - sm, + Some(sm), fallback_bundle, true, // pretty HumanReadableErrorType::Short, |
