rust/tests/ui/issues/issue-50576.rs
2023-01-11 09:32:08 +00:00

7 lines
139 B
Rust

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