]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/unnecessary-await.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / async-await / unnecessary-await.stderr
index e7e61c2baaf0426b24b878a7308187ffcf9f7803..dc3089336974a5573eb46767c31260fdb12fbb23 100644 (file)
@@ -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;