diff options
| author | Ralf Jung <post@ralfj.de> | 2023-11-25 08:02:42 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-11-25 08:02:42 +0100 |
| commit | a4a294aa8d653656329f06a12f87025b22b2ef45 (patch) | |
| tree | 5cd22da2e6c765782b6888b5d4df6a2be98227e1 /compiler/rustc_errors/src | |
| parent | c17444876bcc827e0e4223b193ea40a0f4253b21 (diff) | |
| parent | 34c5ab9aac327a8a18e18ea37a2468a320d82fb0 (diff) | |
| download | rust-a4a294aa8d653656329f06a12f87025b22b2ef45.tar.gz rust-a4a294aa8d653656329f06a12f87025b22b2ef45.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
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() { |
