review comment: change wording of suggestion
This commit is contained in:
parent
64dea33a3d
commit
1a7f2d5cd9
4 changed files with 4 additions and 4 deletions
|
@ -896,7 +896,7 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
|
|||
// it is from the local crate.
|
||||
err.span_suggestion_verbose(
|
||||
expr.span.shrink_to_hi().with_hi(span.hi()),
|
||||
"do not `.await` the expression",
|
||||
"remove the `.await`",
|
||||
String::new(),
|
||||
Applicability::MachineApplicable,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue