summaryrefslogtreecommitdiffstats
path: root/tests/ui/lub-glb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
commit018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch)
treea835ebdf2088ef88fa681f8fad45f09922c1ae9a /tests/ui/lub-glb
parentAdding debian version 1.75.0+dfsg1-5. (diff)
downloadrustc-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/lub-glb')
-rw-r--r--tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr2
-rw-r--r--tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr2
-rw-r--r--tests/ui/lub-glb/old-lub-glb-hr-noteq1.leak.stderr6
-rw-r--r--tests/ui/lub-glb/old-lub-glb-hr-noteq1.noleak.stderr6
-rw-r--r--tests/ui/lub-glb/old-lub-glb-hr-noteq2.leak.stderr6
5 files changed, 11 insertions, 11 deletions
diff --git a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr
index 4448f9326..0d1f9a769 100644
--- a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr
+++ b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.baseleak.stderr
@@ -16,6 +16,6 @@ LL | | };
= note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
diff --git a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr
index 0d6131135..839626535 100644
--- a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr
+++ b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.basenoleak.stderr
@@ -7,6 +7,6 @@ LL | _ => y,
= note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
diff --git a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.leak.stderr b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.leak.stderr
index dd0fdf3a1..10e3fc928 100644
--- a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.leak.stderr
+++ b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.leak.stderr
@@ -12,9 +12,9 @@ LL | |
LL | | };
| |_____- `match` arms have incompatible types
|
- = note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
- found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
+ = note: expected fn pointer `for<'a, 'b> fn(&'a _, &'b _) -> &'a _`
+ found fn pointer `for<'a> fn(&'a _, &'a _) -> &'a _`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
diff --git a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.noleak.stderr b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.noleak.stderr
index cb046d0b0..bf77875fa 100644
--- a/tests/ui/lub-glb/old-lub-glb-hr-noteq1.noleak.stderr
+++ b/tests/ui/lub-glb/old-lub-glb-hr-noteq1.noleak.stderr
@@ -4,9 +4,9 @@ error[E0308]: mismatched types
LL | _ => y,
| ^ one type is more general than the other
|
- = note: expected fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
- found fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
+ = note: expected fn pointer `for<'a, 'b> fn(&'a _, &'b _) -> &'a _`
+ found fn pointer `for<'a> fn(&'a _, &'a _) -> &'a _`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
diff --git a/tests/ui/lub-glb/old-lub-glb-hr-noteq2.leak.stderr b/tests/ui/lub-glb/old-lub-glb-hr-noteq2.leak.stderr
index e54fcf068..1c8925e0b 100644
--- a/tests/ui/lub-glb/old-lub-glb-hr-noteq2.leak.stderr
+++ b/tests/ui/lub-glb/old-lub-glb-hr-noteq2.leak.stderr
@@ -11,9 +11,9 @@ LL | |
LL | | };
| |_____- `match` arms have incompatible types
|
- = note: expected fn pointer `for<'a> fn(&'a u8, &'a u8) -> &'a u8`
- found fn pointer `for<'a, 'b> fn(&'a u8, &'b u8) -> &'a u8`
+ = note: expected fn pointer `for<'a> fn(&'a _, &'a _) -> &'a _`
+ found fn pointer `for<'a, 'b> fn(&'a _, &'b _) -> &'a _`
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.