Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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]`
}