Reword error message slightly

This commit is contained in:
Fabian Wolff 2021-07-01 13:26:17 +02:00
parent 6ed16e23b1
commit dab25ab56c
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}

View file

@ -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