about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-12 10:08:04 +0200
committerRalf Jung <post@ralfj.de>2024-08-12 10:08:04 +0200
commitc0c6f28cd6ac0d2541f4d546b6098874d375747d (patch)
tree503430bb7d255dfd5e6de45c075e2b216ac31a4c /compiler/rustc_errors/src/json
parent3652011f54f007855b33a4411234f0a4612d1814 (diff)
parent0aa17a4c4de2daaf44e38e40f3ac8c2b4275d6bd (diff)
downloadrust-c0c6f28cd6ac0d2541f4d546b6098874d375747d.tar.gz
rust-c0c6f28cd6ac0d2541f4d546b6098874d375747d.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_errors/src/json')
-rw-r--r--compiler/rustc_errors/src/json/tests.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/json/tests.rs b/compiler/rustc_errors/src/json/tests.rs
index e3549fc3aa5..6af376d7afd 100644
--- a/compiler/rustc_errors/src/json/tests.rs
+++ b/compiler/rustc_errors/src/json/tests.rs
@@ -50,7 +50,8 @@ fn test_positions(code: &str, span: (u32, u32), expected_output: SpanTestData) {
             sm,
             fallback_bundle,
             true, // pretty
-            HumanReadableErrorType::Short(ColorConfig::Never),
+            HumanReadableErrorType::Short,
+            ColorConfig::Never,
         );
 
         let span = Span::with_root_ctxt(BytePos(span.0), BytePos(span.1));