@@ -13,7 +13,7 @@ note: required by a bound in `f1`
1313 |
1414LL | fn f1<F>(_: F) where F: Fn(&(), &()) {}
1515 | ^^^^^^^^^^^^ 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
1717 |
1818LL | f1(|_: &(), _: &()| {});
1919 | + +
@@ -33,7 +33,7 @@ note: required by a bound in `f2`
3333 |
3434LL | fn f2<F>(_: F) where F: for<'a> Fn(&'a (), &()) {}
3535 | ^^^^^^^^^^^^^^^^^^^^^^^ 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
3737 |
3838LL | f2(|_: &(), _: &()| {});
3939 | + +
@@ -53,7 +53,7 @@ note: required by a bound in `f3`
5353 |
5454LL | fn f3<'a, F>(_: F) where F: Fn(&'a (), &()) {}
5555 | ^^^^^^^^^^^^^^^ 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
5757 |
5858LL | f3(|_: &(), _: &()| {});
5959 | + +
@@ -73,7 +73,7 @@ note: required by a bound in `f4`
7373 |
7474LL | fn f4<F>(_: F) where F: for<'r> Fn(&(), &'r ()) {}
7575 | ^^^^^^^^^^^^^^^^^^^^^^^ 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
7777 |
7878LL | f4(|_: &(), _: &()| {});
7979 | + +
@@ -93,7 +93,7 @@ note: required by a bound in `f5`
9393 |
9494LL | fn f5<F>(_: F) where F: for<'r> Fn(&'r (), &'r ()) {}
9595 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 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
9797 |
9898LL | f5(|_: &(), _: &()| {});
9999 | + +
@@ -193,7 +193,7 @@ note: required by a bound in `h1`
193193 |
194194LL | fn h1<F>(_: F) where F: Fn(&(), Box<dyn Fn(&())>, &(), fn(&(), &())) {}
195195 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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
197197 |
198198LL | h1(|_: &(), _: (), _: &(), _: ()| {});
199199 | + +
@@ -213,7 +213,7 @@ note: required by a bound in `h2`
213213 |
214214LL | fn h2<F>(_: F) where F: for<'t0> Fn(&(), Box<dyn Fn(&())>, &'t0 (), fn(&(), &())) {}
215215 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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
217217 |
218218LL | h2(|_: &(), _: (), _: &(), _: ()| {});
219219 | + +
0 commit comments