mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 12:43:36 +00:00
Actually test async{}
blocks in async_blocks_are_borders
This commit is contained in:
parent
eecab99dec
commit
797da9e8da
@ -43,7 +43,7 @@ fn foo() {
|
||||
r#"
|
||||
fn foo() {
|
||||
'a: loop {
|
||||
try {
|
||||
async {
|
||||
break;
|
||||
//^^^^^ error: break outside of loop
|
||||
break 'a;
|
||||
|
Loading…
Reference in New Issue
Block a user