]> git.proxmox.com Git - rustc.git/blame - src/test/ui/for/for-c-in-str.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / for / for-c-in-str.stderr
CommitLineData
0bf4aa26 1error[E0277]: `&str` is not an iterator
0731742a 2 --> $DIR/for-c-in-str.rs:4:14
2c00a5a8 3 |
0531ce1d 4LL | for c in "asdf" {
2c00a5a8
XL
5 | ^^^^^^ `&str` is not an iterator; try calling `.chars()` or `.bytes()`
6 |
1b1a35ee
XL
7 = help: the trait `Iterator` is not implemented for `&str`
8 = note: required by `into_iter`
2c00a5a8
XL
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0277`.