blob: 469304e2cf70fd87173c33fb930122e0b9dfba1c [file] [log] [blame] [edit]
fn bar(int_param: usize) {}
fn main() {
let foo: [u8; 4] = [1; 4];
bar(foo);
//~^ ERROR mismatched types
//~| expected `usize`, found `[u8; 4]`
}