File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ error[E0599]: no method named `collect` found for struct `Cloned<TakeWhile<&mut
13
13
LL | .collect();
14
14
| ^^^^^^^ method not found in `Cloned<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 9:6]>>`
15
15
|
16
- ::: $SRC_DIR/core/src/iter/adapters/mod .rs:LL:COL
16
+ ::: $SRC_DIR/core/src/iter/adapters/cloned .rs:LL:COL
17
17
|
18
18
LL | pub struct Cloned<I> {
19
19
| -------------------- doesn't satisfy `_: Iterator`
20
- ...
20
+ |
21
+ ::: $SRC_DIR/core/src/iter/adapters/take_while.rs:LL:COL
22
+ |
21
23
LL | pub struct TakeWhile<I, P> {
22
24
| -------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
23
25
|
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ LL | once::<&str>("str").fuse().filter(|a: &str| true).count();
15
15
| doesn't satisfy `<_ as FnOnce<(&&str,)>>::Output = bool`
16
16
| doesn't satisfy `_: FnMut<(&&str,)>`
17
17
|
18
- ::: $SRC_DIR/core/src/iter/adapters/mod .rs:LL:COL
18
+ ::: $SRC_DIR/core/src/iter/adapters/filter .rs:LL:COL
19
19
|
20
20
LL | pub struct Filter<I, P> {
21
21
| ----------------------- doesn't satisfy `_: Iterator`
You can’t perform that action at this time.
0 commit comments