]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/closures/closure-array-break-length.rs
2 |_
: [_
; continue]| {}
; //~ ERROR: `continue` outside of loop
4 while |_
: [_
; continue]| {} {}
//~ ERROR: `continue` outside of loop
5 //~^ ERROR mismatched types
7 while |_
: [_
; break]| {} {}
//~ ERROR: `break` outside of loop
8 //~^ ERROR mismatched types