diff options
| author | Michael Goulet <michael@errs.io> | 2021-11-19 20:51:44 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2021-11-23 10:34:17 -0800 |
| commit | 9ae575c795a809f2a25ce487cfb0297511297a8a (patch) | |
| tree | 39edc125ef0c7fbd21391956de7919d4449aba3b /src/test/ui/async-await/async-block-control-flow-static-semantics.rs | |
| parent | 471334e99617e20a2165b035241e6aa51bb29628 (diff) | |
| download | rust-9ae575c795a809f2a25ce487cfb0297511297a8a.tar.gz rust-9ae575c795a809f2a25ce487cfb0297511297a8a.zip | |
Update test outputs
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 | 6 |
1 files changed, 3 insertions, 3 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 5bc7069ff89..e3832767203 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 @@ -15,16 +15,16 @@ fn return_targets_async_block_not_fn() -> u8 { return 0u8; }; let _: &dyn Future<Output = ()> = █ - //~^ ERROR type mismatch resolving `<impl Future as Future>::Output == ()` + //~^ ERROR type mismatch } async fn return_targets_async_block_not_async_fn() -> u8 { - //~^ ERROR mismatched types + //~^ ERROR mismatched types [E0308] let block = async { return 0u8; }; let _: &dyn Future<Output = ()> = █ - //~^ ERROR type mismatch resolving `<impl Future as Future>::Output == ()` + //~^ ERROR type mismatch resolving `<impl Future<Output = [async output]> as Future>::Output == ()` } fn no_break_in_async_block() { |
