about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-25 07:29:08 +0000
committerbors <bors@rust-lang.org>2023-11-25 07:29:08 +0000
commitb7912d38b1ef07ce89e3c249e8645113b832115a (patch)
tree33b56bfa1d24df561f420e26cbdbd02ce90fd7f8 /compiler/rustc_errors/src
parent44aceb5d185816dd0d0e3b79ec2944320e1066fe (diff)
parent34a8680cd50a20e5a2f5a7a6861d7c8b700dc3c6 (diff)
downloadrust-b7912d38b1ef07ce89e3c249e8645113b832115a.tar.gz
rust-b7912d38b1ef07ce89e3c249e8645113b832115a.zip
Auto merge of #3187 - RalfJung:rustup, r=RalfJung
Rustup
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() {