summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr')
-rw-r--r--tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr b/tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr
index 6820af1fd..a03d4e8ce 100644
--- a/tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr
+++ b/tests/ui/suggestions/late-bound-in-borrow-closure-sugg.stderr
@@ -16,7 +16,7 @@ note: required by a bound in `Trader::<'a>::set_closure`
|
LL | pub fn set_closure(&mut self, function: impl Fn(&mut Trader) + 'a) {
| ^^^^^^^^^^^^^^^ required by this bound in `Trader::<'a>::set_closure`
-help: consider borrowing the argument
+help: consider adjusting the signature so it borrows its argument
|
LL | let closure = |trader : &mut Trader| {
| ++++