diff options
| author | Veera <sveera.2001@gmail.com> | 2024-05-05 17:39:07 -0400 |
|---|---|---|
| committer | Veera <sveera.2001@gmail.com> | 2024-05-07 16:56:54 -0400 |
| commit | 4271383e1d7ccc5dcd95bd130182e722e9a8ca2a (patch) | |
| tree | d763729d65babfe0cbd4467520ea7d277a85cca4 /tests/ui/async-await/async-block-control-flow-static-semantics.rs | |
| parent | 9c9b568792ef20d8459c745345dd3e79b7c7fa8c (diff) | |
| download | rust-4271383e1d7ccc5dcd95bd130182e722e9a8ca2a.tar.gz rust-4271383e1d7ccc5dcd95bd130182e722e9a8ca2a.zip | |
Update Tests
Diffstat (limited to 'tests/ui/async-await/async-block-control-flow-static-semantics.rs')
| -rw-r--r-- | tests/ui/async-await/async-block-control-flow-static-semantics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/async-block-control-flow-static-semantics.rs b/tests/ui/async-await/async-block-control-flow-static-semantics.rs index 0ef7cb7574a..6e04c535cf1 100644 --- a/tests/ui/async-await/async-block-control-flow-static-semantics.rs +++ b/tests/ui/async-await/async-block-control-flow-static-semantics.rs @@ -29,14 +29,14 @@ async fn return_targets_async_block_not_async_fn() -> u8 { fn no_break_in_async_block() { async { - break 0u8; //~ ERROR `break` inside of an `async` block + break 0u8; //~ ERROR `break` inside `async` block }; } fn no_break_in_async_block_even_with_outer_loop() { loop { async { - break 0u8; //~ ERROR `break` inside of an `async` block + break 0u8; //~ ERROR `break` inside `async` block }; } } |
