about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json/tests.rs
diff options
context:
space:
mode:
authormejrs <>2022-10-19 00:08:20 +0200
committermejrs <>2022-10-19 00:08:20 +0200
commit406e1dc8ebdeb509515c0c8be7cfe015c5eced30 (patch)
tree89007e9a41db189b3228175001218ee04363b205 /compiler/rustc_errors/src/json/tests.rs
parenta24a020e6d926dffe6b472fc647978f92269504e (diff)
downloadrust-406e1dc8ebdeb509515c0c8be7cfe015c5eced30.tar.gz
rust-406e1dc8ebdeb509515c0c8be7cfe015c5eced30.zip
Implement -Ztrack-diagnostics
Diffstat (limited to 'compiler/rustc_errors/src/json/tests.rs')
-rw-r--r--compiler/rustc_errors/src/json/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/json/tests.rs b/compiler/rustc_errors/src/json/tests.rs
index d940d14e1db..f131468971b 100644
--- a/compiler/rustc_errors/src/json/tests.rs
+++ b/compiler/rustc_errors/src/json/tests.rs
@@ -59,6 +59,7 @@ fn test_positions(code: &str, span: (u32, u32), expected_output: SpanTestData) {
             HumanReadableErrorType::Short(ColorConfig::Never),
             None,
             false,
+            false,
         );
 
         let span = Span::with_root_ctxt(BytePos(span.0), BytePos(span.1));