Actually test closures in closures_are_borders

This commit is contained in:
Maybe Waffle 2022-12-28 20:54:38 +00:00
parent 797da9e8da
commit ef303f224f

View file

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