]> git.lizzy.rs Git - rust.git/blob - tests/ui/for/for-loop-bogosity.stderr
Rollup merge of #107700 - jyn514:tools-builder, r=Mark-Simulacrum
[rust.git] / tests / ui / for / for-loop-bogosity.stderr
1 error[E0277]: `MyStruct` is not an iterator
2   --> $DIR/for-loop-bogosity.rs:17:14
3    |
4 LL |     for x in bogus {
5    |              ^^^^^ `MyStruct` is not an iterator
6    |
7    = help: the trait `Iterator` is not implemented for `MyStruct`
8    = note: required for `MyStruct` to implement `IntoIterator`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.