blob: b37ea6f01ba4b42b5a9332b661cb30ab44b1651c [file] [log] [blame]
struct S;
fn main() {
let b = [0; S];
//~^ ERROR mismatched types
//~| expected type `usize`
//~| found type `S`
//~| expected usize, found struct `S`
}