Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
iterators
/
string.rs
blob: 4373dcaabe57bfe86069e7c37106ac6a7fd3e9c8 [
file
] [
log
] [
blame
]
fn
main
()
{
for
_ in
""
.
to_owned
()
{}
//~^ ERROR `std::string::String` is not an iterator
for
_ in
""
{}
//~^ ERROR `&str` is not an iterator
}