Skip to content

Commit 0ecda3d

Browse files
committed
Fix ui tests
1 parent 7adff53 commit 0ecda3d

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ LL | .collect();
1414
| ^^^^^^^
1515
|
1616
= note: the method `collect` exists but the following trait bounds were not satisfied:
17-
`&mut std::iter::Cloned<std::iter::TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 9:6 found_e:_]>> : std::iter::Iterator`
1817
`std::iter::Cloned<std::iter::TakeWhile<&mut std::vec::IntoIter<u8>, [closure@$DIR/issue-31173.rs:6:39: 9:6 found_e:_]>> : std::iter::Iterator`
1918

2019
error: aborting due to 2 previous errors

src/test/ui/methods/method-call-err-msg.stderr

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ LL | pub struct Foo;
3434
LL | .take()
3535
| ^^^^
3636
|
37-
= note: the method `take` exists but the following trait bounds were not satisfied:
38-
`&mut Foo : std::iter::Iterator`
3937
= help: items from traits can only be used if the trait is implemented and in scope
4038
= note: the following traits define an item `take`, perhaps you need to implement one of them:
4139
candidate #1: `std::io::Read`

src/test/ui/mismatched_types/issue-36053-2.stderr

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ LL | once::<&str>("str").fuse().filter(|a: &str| true).count();
55
| ^^^^^
66
|
77
= note: the method `count` exists but the following trait bounds were not satisfied:
8-
`&mut std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@$DIR/issue-36053-2.rs:7:39: 7:53]> : std::iter::Iterator`
98
`std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@$DIR/issue-36053-2.rs:7:39: 7:53]> : std::iter::Iterator`
109

1110
error[E0631]: type mismatch in closure arguments

0 commit comments

Comments
 (0)