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