diff options
| author | Michael Goulet <michael@errs.io> | 2022-03-30 19:26:35 -0700 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-03-30 19:26:35 -0700 |
| commit | 7b2eaa3d8fb73cd1863665bf4b8c24e3b34eb41b (patch) | |
| tree | f44d3fd87db8e298f7a84c5cef0f80e5a7744c58 /src/test/ui/impl-trait/issues | |
| parent | a40c595695bff3bfb373a8a3355ae4bd4ea64608 (diff) | |
| download | rust-7b2eaa3d8fb73cd1863665bf4b8c24e3b34eb41b.tar.gz rust-7b2eaa3d8fb73cd1863665bf4b8c24e3b34eb41b.zip | |
Restore `impl Future<Output = Type>` to async blocks
Diffstat (limited to 'src/test/ui/impl-trait/issues')
| -rw-r--r-- | src/test/ui/impl-trait/issues/issue-78722.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/impl-trait/issues/issue-78722.stderr b/src/test/ui/impl-trait/issues/issue-78722.stderr index 624d85570c7..7a057c7f51b 100644 --- a/src/test/ui/impl-trait/issues/issue-78722.stderr +++ b/src/test/ui/impl-trait/issues/issue-78722.stderr @@ -16,7 +16,7 @@ LL | let f: F = async { 1 }; LL | }], | - value is dropped here -error[E0271]: type mismatch resolving `<impl Future as Future>::Output == u8` +error[E0271]: type mismatch resolving `<impl Future<Output = ()> as Future>::Output == u8` --> $DIR/issue-78722.rs:10:13 | LL | async {} |
