Actually test closures in closures_are_borders
This commit is contained in:
@@ -65,7 +65,7 @@ fn foo() {
|
|||||||
r#"
|
r#"
|
||||||
fn foo() {
|
fn foo() {
|
||||||
'a: loop {
|
'a: loop {
|
||||||
try {
|
|| {
|
||||||
break;
|
break;
|
||||||
//^^^^^ error: break outside of loop
|
//^^^^^ error: break outside of loop
|
||||||
break 'a;
|
break 'a;
|
||||||
|
|||||||
Reference in New Issue
Block a user