diff options
| author | Michael Goulet <michael@errs.io> | 2021-11-16 16:16:23 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2021-11-18 13:19:18 -0800 |
| commit | f6392a16142425cdb7520440583262ffb374b0d5 (patch) | |
| tree | e0cbe10e6d747a5f82aeb6b800ab6b424da3c944 /src/test/ui/parser | |
| parent | b6f580acc0ce233d5c4d1f9680d354fded88b824 (diff) | |
| download | rust-f6392a16142425cdb7520440583262ffb374b0d5.tar.gz rust-f6392a16142425cdb7520440583262ffb374b0d5.zip | |
Print output ty for opaque future ty
Diffstat (limited to 'src/test/ui/parser')
| -rw-r--r-- | src/test/ui/parser/fn-header-semantic-fail.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/parser/fn-header-semantic-fail.stderr b/src/test/ui/parser/fn-header-semantic-fail.stderr index 0adfa5b47a3..75c60a0ea2a 100644 --- a/src/test/ui/parser/fn-header-semantic-fail.stderr +++ b/src/test/ui/parser/fn-header-semantic-fail.stderr @@ -194,7 +194,7 @@ LL | async fn ft1() {} | = note: while checking the return type of the `async fn` = note: expected fn pointer `fn()` - found fn pointer `fn() -> impl Future` + found fn pointer `fn() -> impl Future<Output = ()>` error[E0053]: method `ft5` has an incompatible type for trait --> $DIR/fn-header-semantic-fail.rs:33:48 @@ -210,7 +210,7 @@ LL | const async unsafe extern "C" fn ft5() {} | = 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` + found fn pointer `unsafe extern "C" fn() -> impl Future<Output = ()>` error: aborting due to 20 previous errors |
