Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
iterators
/
array.rs
blob: 33c84f6fa3582ce1f7046b89d805269d5543798e [
file
] [
log
] [
blame
]
fn
main
()
{
for
_ in
[
1
,
2
]
{}
//~^ ERROR is not an iterator
let
x
=
[
1
,
2
];
for
_ in x
{}
//~^ ERROR is not an iterator
for
_ in
[
1.0
,
2.0
]
{}
//~^ ERROR is not an iterator
}