File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 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
1313LL | .collect();
1414 | ^^^^^^^ method not found in `Cloned<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 9:6]>>`
1515 |
16- ::: $SRC_DIR/core/src/iter/adapters/mod .rs:LL:COL
16+ ::: $SRC_DIR/core/src/iter/adapters/cloned .rs:LL:COL
1717 |
1818LL | pub struct Cloned<I> {
1919 | -------------------- doesn't satisfy `_: Iterator`
20- ...
20+ |
21+ ::: $SRC_DIR/core/src/iter/adapters/take_while.rs:LL:COL
22+ |
2123LL | pub struct TakeWhile<I, P> {
2224 | -------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
2325 |
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ LL | once::<&str>("str").fuse().filter(|a: &str| true).count();
1515 | doesn't satisfy `<_ as FnOnce<(&&str,)>>::Output = bool`
1616 | doesn't satisfy `_: FnMut<(&&str,)>`
1717 |
18- ::: $SRC_DIR/core/src/iter/adapters/mod .rs:LL:COL
18+ ::: $SRC_DIR/core/src/iter/adapters/filter .rs:LL:COL
1919 |
2020LL | pub struct Filter<I, P> {
2121 | ----------------------- doesn't satisfy `_: Iterator`
You can’t perform that action at this time.
0 commit comments