about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-11-25 08:02:42 +0100
committerRalf Jung <post@ralfj.de>2023-11-25 08:02:42 +0100
commita4a294aa8d653656329f06a12f87025b22b2ef45 (patch)
tree5cd22da2e6c765782b6888b5d4df6a2be98227e1 /compiler/rustc_errors/src
parentc17444876bcc827e0e4223b193ea40a0f4253b21 (diff)
parent34c5ab9aac327a8a18e18ea37a2468a320d82fb0 (diff)
downloadrust-a4a294aa8d653656329f06a12f87025b22b2ef45.tar.gz
rust-a4a294aa8d653656329f06a12f87025b22b2ef45.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 1cee57843f0..a3cda5aeab5 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -1465,7 +1465,7 @@ impl HandlerInner {
         };
         let errors = match self.deduplicated_err_count {
             0 => Cow::from(""),
-            1 => Cow::from("aborting due to previous error"),
+            1 => Cow::from("aborting due to 1 previous error"),
             count => Cow::from(format!("aborting due to {count} previous errors")),
         };
         if self.treat_err_as_bug() {