summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/fn-fn_mut-call-ill-formed.bad_item.stderr
blob: ff603111e94c5cfb468ab4e26fc770667e912dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: failed to find an overloaded call trait for closure call
  --> $DIR/fn-fn_mut-call-ill-formed.rs:39:5
   |
LL |     a();
   |     ^^^
   |
   = help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have correctly defined `call`/`call_mut`/`call_once` methods

error: failed to find an overloaded call trait for closure call
  --> $DIR/fn-fn_mut-call-ill-formed.rs:43:5
   |
LL |     b();
   |     ^^^
   |
   = help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have correctly defined `call`/`call_mut`/`call_once` methods

error: aborting due to 2 previous errors