1 2 3 4 5
fn main() { |y: Vec<[(); for x in 0..2 {}]>| {}; //~^ ERROR mismatched types //~| ERROR `for` is not allowed in a `const` }