summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr')
-rw-r--r--tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr b/tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr
index 5f8c5dbe6..52c700c32 100644
--- a/tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr
+++ b/tests/ui/rfcs/rfc-1623-static/rfc1623-2.stderr
@@ -4,8 +4,8 @@ error[E0308]: mismatched types
LL | f: &id,
| ^^^ one type is more general than the other
|
- = note: expected trait `for<'a, 'b> Fn<(&'a Foo<'b>,)>`
- found trait `Fn<(&Foo<'_>,)>`
+ = note: expected trait `for<'a, 'b> Fn(&'a Foo<'b>)`
+ found trait `Fn(&Foo<'_>)`
error[E0308]: mismatched types
--> $DIR/rfc1623-2.rs:28:8
@@ -13,8 +13,8 @@ error[E0308]: mismatched types
LL | f: &id,
| ^^^ one type is more general than the other
|
- = note: expected trait `for<'a, 'b> Fn<(&'a Foo<'b>,)>`
- found trait `Fn<(&Foo<'_>,)>`
+ = note: expected trait `for<'a, 'b> Fn(&'a Foo<'b>)`
+ found trait `Fn(&Foo<'_>)`
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
error: implementation of `FnOnce` is not general enough