1
Fork 0

review comment: change wording of suggestion

This commit is contained in:
Esteban Kuber 2021-12-10 03:01:37 +00:00
parent 64dea33a3d
commit 1a7f2d5cd9
4 changed files with 4 additions and 4 deletions

View file

@ -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,
);