rust/src/test/ui/for/for-loop-bogosity.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
439 B
Plaintext
Raw Normal View History

error[E0277]: `MyStruct` is not an iterator
2018-12-25 09:56:47 -06:00
--> $DIR/for-loop-bogosity.rs:17:14
2018-08-08 07:28:26 -05:00
|
LL | for x in bogus {
| ^^^^^ `MyStruct` is not an iterator
2018-08-08 07:28:26 -05:00
|
= help: the trait `Iterator` is not implemented for `MyStruct`
2020-09-07 04:01:45 -05:00
= note: required because of the requirements on the impl of `IntoIterator` for `MyStruct`
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.