rust/tests/ui/issues/issue-41880.stderr

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

13 lines
514 B
Plaintext
Raw Normal View History

error[E0599]: no method named `iter` found for struct `Iterate` in the current scope
2018-12-25 15:56:47 +00:00
--> $DIR/issue-41880.rs:27:24
2018-07-15 21:11:54 +00:00
|
LL | pub struct Iterate<T, F> {
| ------------------------ method `iter` not found for this struct
2018-07-15 21:11:54 +00:00
...
LL | println!("{:?}", a.iter().take(10).collect::<Vec<usize>>());
| ^^^^ method not found in `Iterate<{integer}, {closure@issue-41880.rs:26:24}>`
2018-07-15 21:11:54 +00:00
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0599`.