Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-4517.rs
blob: caf85d44aac5c424f0153f289b78c4e041c27318 [
file
] [
log
] [
blame
]
fn
bar
(
int_param
:
usize
)
{}
fn
main
()
{
let
foo
:
[
u8
;
4
]
=
[
1
;
4
];
bar
(
foo
);
//~^ ERROR mismatched types
//~| expected `usize`, found array `[u8; 4]`
}