2013-02-19 01:55:37 -06:00
|
|
|
fn bar(int_param: int) {}
|
|
|
|
|
|
|
|
fn main() {
|
2013-03-22 20:52:04 -05:00
|
|
|
let foo: [u8, ..4] = [1u8, ..4u8];
|
2013-02-19 01:55:37 -06:00
|
|
|
bar(foo); //~ ERROR mismatched types: expected `int` but found `[u8 * 4]` (expected int but found vector)
|
|
|
|
}
|