summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/multiple-fn-bounds.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/multiple-fn-bounds.stderr')
-rw-r--r--tests/ui/closures/multiple-fn-bounds.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/closures/multiple-fn-bounds.stderr b/tests/ui/closures/multiple-fn-bounds.stderr
index 32a1edb00..d94c902f7 100644
--- a/tests/ui/closures/multiple-fn-bounds.stderr
+++ b/tests/ui/closures/multiple-fn-bounds.stderr
@@ -18,7 +18,7 @@ note: required by a bound in `foo`
|
LL | fn foo<F: Fn(&char) -> bool + Fn(char) -> bool>(f: F) {
| ^^^^^^^^^^^^^^^^ required by this bound in `foo`
-help: do not borrow the argument
+help: consider adjusting the signature so it does not borrow its argument
|
LL | foo(move |char| v);
| ~~~~