mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
Reword error message slightly
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user