]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/fn-header-semantic-fail.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / parser / fn-header-semantic-fail.stderr
index 4fde243b2f8ecec383ba3ac2be2b6ab100883528..2e513415e6c64fdbcf862e3fe1a333ba2781ccf2 100644 (file)
@@ -189,9 +189,10 @@ LL |         async fn ft1();
 LL |         async fn ft1() {}
    |                        ^
    |                        |
-   |                        the `Output` of this `async fn`'s found opaque type
+   |                        checked the `Output` of this `async fn`, found opaque type
    |                        expected `()`, found opaque type
    |
+   = note: while checking the return type of the `async fn`
    = note: expected fn pointer `fn()`
               found fn pointer `fn() -> impl Future`
 
@@ -204,9 +205,10 @@ LL |         const async unsafe extern "C" fn ft5();
 LL |         const async unsafe extern "C" fn ft5() {}
    |                                                ^
    |                                                |
-   |                                                the `Output` of this `async fn`'s found opaque type
+   |                                                checked the `Output` of this `async fn`, found opaque type
    |                                                expected `()`, found opaque type
    |
+   = note: while checking the return type of the `async fn`
    = note: expected fn pointer `unsafe extern "C" fn()`
               found fn pointer `unsafe extern "C" fn() -> impl Future`