mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Actually test closures in closures_are_borders
This commit is contained in:
parent
797da9e8da
commit
ef303f224f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fn foo() {
|
|||
r#"
|
||||
fn foo() {
|
||||
'a: loop {
|
||||
try {
|
||||
|| {
|
||||
break;
|
||||
//^^^^^ error: break outside of loop
|
||||
break 'a;
|
||||
|
|
Loading…
Reference in a new issue