Actually test async{} blocks in async_blocks_are_borders

This commit is contained in:
Maybe Waffle 2022-12-28 20:53:55 +00:00
parent eecab99dec
commit 797da9e8da

View file

@ -43,7 +43,7 @@ fn foo() {
r#" r#"
fn foo() { fn foo() {
'a: loop { 'a: loop {
try { async {
break; break;
//^^^^^ error: break outside of loop //^^^^^ error: break outside of loop
break 'a; break 'a;