summary refs log tree commit diff
path: root/src/test/ui/issues/issue-20772.stderr
blob: 3b5dd975ce9e92540e9086709e8cc157c02d1129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
error[E0391]: cycle detected when computing the supertraits of `T`
  --> $DIR/issue-20772.rs:1:1
   |
LL | / trait T : Iterator<Item=Self::Item>
LL | |
LL | |
LL | | {}
   | |__^
   |
   = note: ...which again requires computing the supertraits of `T`, completing the cycle
note: cycle used when collecting item types in top-level module
  --> $DIR/issue-20772.rs:1:1
   |
LL | / trait T : Iterator<Item=Self::Item>
LL | |
LL | |
LL | | {}
   | |__^

error[E0220]: associated type `Item` not found for `Self`
  --> $DIR/issue-20772.rs:1:25
   |
LL | trait T : Iterator<Item=Self::Item>
   |                         ^^^^^^^^^^ associated type `Item` not found

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0220, E0391.
For more information about an error, try `rustc --explain E0220`.