summary refs log tree commit diff
path: root/src/test/ui/resolve/resolve-self-in-impl.stderr
blob: 3fa384808dbd479ddbd506599218ffa2dc8d6690 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
error[E0391]: cycle detected when processing `<impl at $DIR/resolve-self-in-impl.rs:24:1: 24:20>`
  --> $DIR/resolve-self-in-impl.rs:24:13
   |
LL | impl Tr for Self {} //~ ERROR cycle detected
   |             ^^^^
   |
   = note: ...which again requires processing `<impl at $DIR/resolve-self-in-impl.rs:24:1: 24:20>`, completing the cycle

error[E0391]: cycle detected when processing `<impl at $DIR/resolve-self-in-impl.rs:25:1: 25:23>`
  --> $DIR/resolve-self-in-impl.rs:25:15
   |
LL | impl Tr for S<Self> {} //~ ERROR cycle detected
   |               ^^^^
   |
   = note: ...which again requires processing `<impl at $DIR/resolve-self-in-impl.rs:25:1: 25:23>`, completing the cycle

error[E0391]: cycle detected when processing `<impl at $DIR/resolve-self-in-impl.rs:26:1: 26:13>`
  --> $DIR/resolve-self-in-impl.rs:26:6
   |
LL | impl Self {} //~ ERROR cycle detected
   |      ^^^^
   |
   = note: ...which again requires processing `<impl at $DIR/resolve-self-in-impl.rs:26:1: 26:13>`, completing the cycle

error[E0391]: cycle detected when processing `<impl at $DIR/resolve-self-in-impl.rs:27:1: 27:16>`
  --> $DIR/resolve-self-in-impl.rs:27:8
   |
LL | impl S<Self> {} //~ ERROR cycle detected
   |        ^^^^
   |
   = note: ...which again requires processing `<impl at $DIR/resolve-self-in-impl.rs:27:1: 27:16>`, completing the cycle

error[E0391]: cycle detected when processing `<impl at $DIR/resolve-self-in-impl.rs:28:1: 28:26>`
  --> $DIR/resolve-self-in-impl.rs:28:1
   |
LL | impl Tr<Self::A> for S {} //~ ERROR cycle detected
   | ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: ...which again requires processing `<impl at $DIR/resolve-self-in-impl.rs:28:1: 28:26>`, completing the cycle

error: aborting due to 5 previous errors

For more information about this error, try `rustc --explain E0391`.