Reword error message slightly
This commit is contained in:
parent
6ed16e23b1
commit
dab25ab56c
2 changed files with 2 additions and 2 deletions
|
@ -596,7 +596,7 @@ impl<'a, 'tcx> DeferredCallResolution<'tcx> {
|
|||
);
|
||||
err.help(
|
||||
"make sure the `fn`/`fn_mut`/`fn_once` lang items are defined \
|
||||
and have an associated `call`/`call_mut`/`call_once` function",
|
||||
and have associated `call`/`call_mut`/`call_once` functions",
|
||||
);
|
||||
err.emit();
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ error: failed to find an overloaded call trait for closure call
|
|||
LL | one()
|
||||
| ^^^^^
|
||||
|
|
||||
= help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have an associated `call`/`call_mut`/`call_once` function
|
||||
= help: make sure the `fn`/`fn_mut`/`fn_once` lang items are defined and have associated `call`/`call_mut`/`call_once` functions
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue