Update Tests
This commit is contained in:
parent
9c9b568792
commit
4271383e1d
4 changed files with 101 additions and 6 deletions
|
@ -1,18 +1,18 @@
|
|||
error[E0267]: `break` inside of an `async` block
|
||||
error[E0267]: `break` inside `async` block
|
||||
--> $DIR/async-block-control-flow-static-semantics.rs:32:9
|
||||
|
|
||||
LL | / async {
|
||||
LL | | break 0u8;
|
||||
| | ^^^^^^^^^ cannot `break` inside of an `async` block
|
||||
| | ^^^^^^^^^ cannot `break` inside `async` block
|
||||
LL | | };
|
||||
| |_____- enclosing `async` block
|
||||
|
||||
error[E0267]: `break` inside of an `async` block
|
||||
error[E0267]: `break` inside `async` block
|
||||
--> $DIR/async-block-control-flow-static-semantics.rs:39:13
|
||||
|
|
||||
LL | / async {
|
||||
LL | | break 0u8;
|
||||
| | ^^^^^^^^^ cannot `break` inside of an `async` block
|
||||
| | ^^^^^^^^^ cannot `break` inside `async` block
|
||||
LL | | };
|
||||
| |_________- enclosing `async` block
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue