Skip to content

Commit 448c255

Browse files
committed
Bless ui tests.
1 parent 7c2d722 commit 448c255

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/ui/issues/issue-31173.stderr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ error[E0599]: the method `collect` exists for struct `Cloned<TakeWhile<&mut std:
1818
LL | .collect();
1919
| ^^^^^^^ method cannot be called on `Cloned<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 6:43]>>` due to unsatisfied trait bounds
2020
|
21-
::: $SRC_DIR/core/src/iter/adapters/cloned.rs:LL:COL
22-
|
23-
LL | pub struct Cloned<I> {
24-
| -------------------- doesn't satisfy `_: Iterator`
25-
|
2621
::: $SRC_DIR/core/src/iter/adapters/take_while.rs:LL:COL
2722
|
2823
LL | pub struct TakeWhile<I, P> {
2924
| -------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
3025
|
26+
::: $SRC_DIR/core/src/iter/adapters/cloned.rs:LL:COL
27+
|
28+
LL | pub struct Cloned<I> {
29+
| -------------------- doesn't satisfy `_: Iterator`
30+
|
3131
= note: the following trait bounds were not satisfied:
3232
`<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 6:43]> as Iterator>::Item = &_`
3333
which is required by `Cloned<TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 6:43]>>: Iterator`

0 commit comments

Comments
 (0)