Skip to content

Commit ef303f2

Browse files
committed
Actually test closures in closures_are_borders
1 parent 797da9e commit ef303f2

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
@@ -65,7 +65,7 @@ fn foo() {
6565
r#"
6666
fn foo() {
6767
'a: loop {
68-
try {
68+
|| {
6969
break;
7070
//^^^^^ error: break outside of loop
7171
break 'a;

0 commit comments

Comments
 (0)