2023-02-16 20:32:59 +00:00
|
|
|
error: failed to find an overloaded call trait for closure call
|
|
|
|
--> $DIR/fn-fn_mut-call-ill-formed.rs:39:5
|
|
|
|
|
|
|
|
|
LL | a();
|
|
|
|
| ^^^
|
|
|
|
|
|
2023-02-16 20:52:29 +00:00
|
|
|
= help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have correctly defined `call`/`call_mut`/`call_once` methods
|
2023-02-16 20:32:59 +00:00
|
|
|
|
|
|
|
error: failed to find an overloaded call trait for closure call
|
|
|
|
--> $DIR/fn-fn_mut-call-ill-formed.rs:43:5
|
|
|
|
|
|
|
|
|
LL | b();
|
|
|
|
| ^^^
|
|
|
|
|
|
2023-02-16 20:52:29 +00:00
|
|
|
= help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have correctly defined `call`/`call_mut`/`call_once` methods
|
2023-02-16 20:32:59 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|