summaryrefslogtreecommitdiffstats
path: root/tests/ui/invalid-self-argument
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
commit9918693037dce8aa4bb6f08741b6812923486c18 (patch)
tree21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /tests/ui/invalid-self-argument
parentReleasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff)
downloadrustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz
rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tests/ui/invalid-self-argument/bare-fn-start.stderr2
-rw-r--r--tests/ui/invalid-self-argument/bare-fn.stderr2
-rw-r--r--tests/ui/invalid-self-argument/trait-fn.stderr2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/invalid-self-argument/bare-fn-start.stderr b/tests/ui/invalid-self-argument/bare-fn-start.stderr
index 37753e61f..bf7160bcd 100644
--- a/tests/ui/invalid-self-argument/bare-fn-start.stderr
+++ b/tests/ui/invalid-self-argument/bare-fn-start.stderr
@@ -6,5 +6,5 @@ LL | fn a(&self) { }
|
= note: associated functions are those in `impl` or `trait` definitions
-error: aborting due to previous error
+error: aborting due to 1 previous error
diff --git a/tests/ui/invalid-self-argument/bare-fn.stderr b/tests/ui/invalid-self-argument/bare-fn.stderr
index ff2217b5e..7abb56602 100644
--- a/tests/ui/invalid-self-argument/bare-fn.stderr
+++ b/tests/ui/invalid-self-argument/bare-fn.stderr
@@ -4,5 +4,5 @@ error: unexpected `self` parameter in function
LL | fn b(foo: u32, &mut self) { }
| ^^^^^^^^^ must be the first parameter of an associated function
-error: aborting due to previous error
+error: aborting due to 1 previous error
diff --git a/tests/ui/invalid-self-argument/trait-fn.stderr b/tests/ui/invalid-self-argument/trait-fn.stderr
index b9887af96..c9d0a338e 100644
--- a/tests/ui/invalid-self-argument/trait-fn.stderr
+++ b/tests/ui/invalid-self-argument/trait-fn.stderr
@@ -4,5 +4,5 @@ error: unexpected `self` parameter in function
LL | fn c(foo: u32, self) {}
| ^^^^ must be the first parameter of an associated function
-error: aborting due to previous error
+error: aborting due to 1 previous error