1 2 3 4 5 6 7
struct S; fn main() { let b = [0; S]; //~^ ERROR mismatched types //~| expected `usize`, found struct `S` }