about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-12 08:25:26 +0000
committerbors <bors@rust-lang.org>2024-08-12 08:25:26 +0000
commita25ec22901e387d076eac487608a172d3b37390e (patch)
treef05489e27b891f15338149d09cd053f1eecc08a1 /compiler/rustc_errors/src/json
parent3456432db1cb33322702b8a2585d5ffe13c4fd43 (diff)
parent14f9284ebecc4d7a6e68bf782720563a5e317888 (diff)
downloadrust-a25ec22901e387d076eac487608a172d3b37390e.tar.gz
rust-a25ec22901e387d076eac487608a172d3b37390e.zip
Auto merge of #3801 - RalfJung:rustup, r=RalfJung
Rustup
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));