]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/for-c-in-str.stderr
Unimplement Send/Sync for ::env::{Args,ArgsOs,Vars,VarsOs}
[rust.git] / src / test / ui / suggestions / for-c-in-str.stderr
1 error[E0277]: the trait bound `&str: std::iter::Iterator` is not satisfied
2   --> $DIR/for-c-in-str.rs:14:14
3    |
4 14 |     for c in "asdf" {
5    |              ^^^^^^ `&str` is not an iterator; maybe try calling `.iter()` or a similar method
6    |
7    = help: the trait `std::iter::Iterator` is not implemented for `&str`
8    = note: required by `std::iter::IntoIterator::into_iter`
9
10 error: aborting due to previous error
11