You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/test/ui/generic-associated-types/iterable.stderr
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
error[E0271]: type mismatch resolving `for<'a> <<std::vec::Vec<T> as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <std::vec::Vec<T> as Iterable>::Item<'a>`
2
-
--> $DIR/iterable.rs:15:5
2
+
--> $DIR/iterable.rs:20:5
3
3
|
4
4
LL | impl<T> Iterable for Vec<T> {
5
5
| --------------------------- in this `impl` item
@@ -17,7 +17,7 @@ LL | type Item;
17
17
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
18
18
19
19
error[E0271]: type mismatch resolving `for<'a> <<[T] as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <[T] as Iterable>::Item<'a>`
20
-
--> $DIR/iterable.rs:27:5
20
+
--> $DIR/iterable.rs:32:5
21
21
|
22
22
LL | impl<T> Iterable for [T] {
23
23
| ------------------------ in this `impl` item
@@ -35,7 +35,7 @@ LL | type Item;
35
35
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
36
36
37
37
error[E0271]: type mismatch resolving `for<'a> <<std::vec::Vec<T> as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <std::vec::Vec<T> as Iterable>::Item<'a>`
0 commit comments