Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
);
}