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#"
fn foo() {
'a: loop {
try {
async {
break;
//^^^^^ error: break outside of loop
break 'a;