Skip to content

Commit 797da9e

Browse files
committed
Actually test async{} blocks in async_blocks_are_borders
1 parent eecab99 commit 797da9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn foo() {
4343
r#"
4444
fn foo() {
4545
'a: loop {
46-
try {
46+
async {
4747
break;
4848
//^^^^^ error: break outside of loop
4949
break 'a;

0 commit comments

Comments
 (0)