Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
numeric
/
len.rs
blob: a725409882059e2a121d4b09be5d0ec74b741d71 [
file
] [
log
] [
blame
]
fn
main
()
{
let
array
=
[
1
,
2
,
3
];
test
(
array
.
len
());
//~ ERROR mismatched types
}
fn
test
(
length
:
u32
)
{
println
!(
"{}"
,
length
);
}