rust/tests/ui/loops/issue-50576.rs
2023-02-16 11:42:35 -03:00

7 lines
139 B
Rust

fn main() {
|bool: [u8; break 'L]| 0;
//~^ ERROR [E0426]
//~| ERROR [E0268]
Vec::<[u8; break]>::new(); //~ ERROR [E0268]
}