diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:25:56 +0000 |
commit | 018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch) | |
tree | a835ebdf2088ef88fa681f8fad45f09922c1ae9a /tests/ui/polymorphization | |
parent | Adding debian version 1.75.0+dfsg1-5. (diff) | |
download | rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.tar.xz rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.zip |
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/polymorphization')
-rw-r--r-- | tests/ui/polymorphization/const_parameters/functions.stderr | 2 | ||||
-rw-r--r-- | tests/ui/polymorphization/promoted-function-1.stderr | 2 | ||||
-rw-r--r-- | tests/ui/polymorphization/promoted-function-2.stderr | 2 |
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 |