summaryrefslogtreecommitdiffstats
path: root/tests/ui/polymorphization
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/polymorphization')
-rw-r--r--tests/ui/polymorphization/const_parameters/functions.stderr2
-rw-r--r--tests/ui/polymorphization/promoted-function-1.stderr2
-rw-r--r--tests/ui/polymorphization/promoted-function-2.stderr2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/polymorphization/const_parameters/functions.stderr b/tests/ui/polymorphization/const_parameters/functions.stderr
index 9d0922ac7..a3033d1dc 100644
--- a/tests/ui/polymorphization/const_parameters/functions.stderr
+++ b/tests/ui/polymorphization/const_parameters/functions.stderr
@@ -13,5 +13,5 @@ error: item has unused generic parameters
LL | pub fn unused<const T: usize>() {
| ^^^^^^ -------------- generic parameter `T` is unused
-error: aborting due to previous error; 1 warning emitted
+error: aborting due to 1 previous error; 1 warning emitted
diff --git a/tests/ui/polymorphization/promoted-function-1.stderr b/tests/ui/polymorphization/promoted-function-1.stderr
index fcbb86949..8ab0320aa 100644
--- a/tests/ui/polymorphization/promoted-function-1.stderr
+++ b/tests/ui/polymorphization/promoted-function-1.stderr
@@ -4,5 +4,5 @@ error: item has unused generic parameters
LL | pub fn test<T>() {
| ^^^^ - generic parameter `T` is unused
-error: aborting due to previous error
+error: aborting due to 1 previous error
diff --git a/tests/ui/polymorphization/promoted-function-2.stderr b/tests/ui/polymorphization/promoted-function-2.stderr
index 547569df7..a5d3bee11 100644
--- a/tests/ui/polymorphization/promoted-function-2.stderr
+++ b/tests/ui/polymorphization/promoted-function-2.stderr
@@ -13,5 +13,5 @@ error: item has unused generic parameters
LL | fn test<T>() {
| ^^^^ - generic parameter `T` is unused
-error: aborting due to previous error; 1 warning emitted
+error: aborting due to 1 previous error; 1 warning emitted