summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/unnecessary-await.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/async-await/unnecessary-await.stderr')
-rw-r--r--src/test/ui/async-await/unnecessary-await.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/unnecessary-await.stderr b/src/test/ui/async-await/unnecessary-await.stderr
index e7e61c2ba..dc3089336 100644
--- a/src/test/ui/async-await/unnecessary-await.stderr
+++ b/src/test/ui/async-await/unnecessary-await.stderr
@@ -8,7 +8,7 @@ LL | boo().await;
|
= help: the trait `Future` is not implemented for `()`
= note: () must be a future or must implement `IntoFuture` to be awaited
- = note: required because of the requirements on the impl of `IntoFuture` for `()`
+ = note: required for `()` to implement `IntoFuture`
help: remove the `.await`
|
LL - boo().await;