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