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/async-await/async-block-control-flow-static-semantics.rs | |
| 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/async-await/async-block-control-flow-static-semantics.rs')
| -rw-r--r-- | src/test/ui/async-await/async-block-control-flow-static-semantics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/async-block-control-flow-static-semantics.rs b/src/test/ui/async-await/async-block-control-flow-static-semantics.rs index f6c6f90a393..b831d610232 100644 --- a/src/test/ui/async-await/async-block-control-flow-static-semantics.rs +++ b/src/test/ui/async-await/async-block-control-flow-static-semantics.rs @@ -24,7 +24,7 @@ async fn return_targets_async_block_not_async_fn() -> u8 { return 0u8; }; let _: &dyn Future<Output = ()> = █ - //~^ ERROR type mismatch resolving `<impl Future as Future>::Output == ()` + //~^ ERROR type mismatch resolving `<impl Future<Output = u8> as Future>::Output == ()` } fn no_break_in_async_block() { |
