summaryrefslogtreecommitdiffstats
path: root/tests/ui/loops/issue-50576.rs
blob: e0c36b8273af012aab6a57766aa121f2d3a7369b (plain)
1
2
3
4
5
6
fn main() {
    |bool: [u8; break 'L]| 0;
    //~^ ERROR [E0426]
    //~| ERROR [E0268]
    Vec::<[u8; break]>::new(); //~ ERROR [E0268]
}