]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/async-await/issue-61076.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / async-await / issue-61076.stderr
index db6dc3ea00a8d9077d9839700847312e97ca52af..fd00522fac70317cabfe065c2a6c4c9d10362173 100644 (file)
@@ -61,11 +61,12 @@ error[E0308]: mismatched types
   --> $DIR/issue-61076.rs:92:9
    |
 LL | async fn tuple() -> Tuple {
-   |                     ----- the `Output` of this `async fn`'s expected opaque type
+   |                     ----- checked the `Output` of this `async fn`, expected opaque type
 ...
 LL |         Tuple(_) => {}
    |         ^^^^^^^^ expected opaque type, found struct `Tuple`
    |
+   = note: while checking the return type of the `async fn`
    = note: expected opaque type `impl Future`
                    found struct `Tuple`
 help: consider `await`ing on the `Future`