diff options
| author | Ralf Jung <post@ralfj.de> | 2025-01-26 14:36:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-26 14:36:23 +0000 |
| commit | d7e942eb91111f3db249842ea1866e5bbf405538 (patch) | |
| tree | 8db5894ece32ab3228cf11299b855c55cc1ce76e /compiler/rustc_errors/src/json | |
| parent | 57eabac8351013154cef7bac0f27759094ff5a96 (diff) | |
| parent | c688ecf4680b18734690159de7ba1ebf0c7e4026 (diff) | |
| download | rust-d7e942eb91111f3db249842ea1866e5bbf405538.tar.gz rust-d7e942eb91111f3db249842ea1866e5bbf405538.zip | |
Merge pull request #4151 from rust-lang/rustup-2025-01-26
Automatic Rustup
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, |
