@@ -13,7 +13,7 @@ note: required by a bound in `f1`
13
13
|
14
14
LL | fn f1<F>(_: F) where F: Fn(&(), &()) {}
15
15
| ^^^^^^^^^^^^ required by this bound in `f1`
16
- help: consider adjusting the signature so it borrows its argument
16
+ help: consider adjusting the signature so it borrows its arguments
17
17
|
18
18
LL | f1(|_: &(), _: &()| {});
19
19
| + +
@@ -33,7 +33,7 @@ note: required by a bound in `f2`
33
33
|
34
34
LL | fn f2<F>(_: F) where F: for<'a> Fn(&'a (), &()) {}
35
35
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `f2`
36
- help: consider adjusting the signature so it borrows its argument
36
+ help: consider adjusting the signature so it borrows its arguments
37
37
|
38
38
LL | f2(|_: &(), _: &()| {});
39
39
| + +
@@ -53,7 +53,7 @@ note: required by a bound in `f3`
53
53
|
54
54
LL | fn f3<'a, F>(_: F) where F: Fn(&'a (), &()) {}
55
55
| ^^^^^^^^^^^^^^^ required by this bound in `f3`
56
- help: consider adjusting the signature so it borrows its argument
56
+ help: consider adjusting the signature so it borrows its arguments
57
57
|
58
58
LL | f3(|_: &(), _: &()| {});
59
59
| + +
@@ -73,7 +73,7 @@ note: required by a bound in `f4`
73
73
|
74
74
LL | fn f4<F>(_: F) where F: for<'r> Fn(&(), &'r ()) {}
75
75
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `f4`
76
- help: consider adjusting the signature so it borrows its argument
76
+ help: consider adjusting the signature so it borrows its arguments
77
77
|
78
78
LL | f4(|_: &(), _: &()| {});
79
79
| + +
@@ -93,7 +93,7 @@ note: required by a bound in `f5`
93
93
|
94
94
LL | fn f5<F>(_: F) where F: for<'r> Fn(&'r (), &'r ()) {}
95
95
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `f5`
96
- help: consider adjusting the signature so it borrows its argument
96
+ help: consider adjusting the signature so it borrows its arguments
97
97
|
98
98
LL | f5(|_: &(), _: &()| {});
99
99
| + +
@@ -193,7 +193,7 @@ note: required by a bound in `h1`
193
193
|
194
194
LL | fn h1<F>(_: F) where F: Fn(&(), Box<dyn Fn(&())>, &(), fn(&(), &())) {}
195
195
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `h1`
196
- help: consider adjusting the signature so it borrows its argument
196
+ help: consider adjusting the signature so it borrows its arguments
197
197
|
198
198
LL | h1(|_: &(), _: (), _: &(), _: ()| {});
199
199
| + +
@@ -213,7 +213,7 @@ note: required by a bound in `h2`
213
213
|
214
214
LL | fn h2<F>(_: F) where F: for<'t0> Fn(&(), Box<dyn Fn(&())>, &'t0 (), fn(&(), &())) {}
215
215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `h2`
216
- help: consider adjusting the signature so it borrows its argument
216
+ help: consider adjusting the signature so it borrows its arguments
217
217
|
218
218
LL | h2(|_: &(), _: (), _: &(), _: ()| {});
219
219
| + +
0 commit comments