error[E0391]: cycle detected when processing `` --> $DIR/resolve-self-in-impl.rs:24:13 | LL | impl Tr for Self {} //~ ERROR cycle detected | ^^^^ | = note: ...which again requires processing ``, completing the cycle error[E0391]: cycle detected when processing `` --> $DIR/resolve-self-in-impl.rs:25:15 | LL | impl Tr for S {} //~ ERROR cycle detected | ^^^^ | = note: ...which again requires processing ``, completing the cycle error[E0391]: cycle detected when processing `` --> $DIR/resolve-self-in-impl.rs:26:6 | LL | impl Self {} //~ ERROR cycle detected | ^^^^ | = note: ...which again requires processing ``, completing the cycle error[E0391]: cycle detected when processing `` --> $DIR/resolve-self-in-impl.rs:27:8 | LL | impl S {} //~ ERROR cycle detected | ^^^^ | = note: ...which again requires processing ``, completing the cycle error[E0391]: cycle detected when processing `` --> $DIR/resolve-self-in-impl.rs:28:1 | LL | impl Tr for S {} //~ ERROR cycle detected | ^^^^^^^^^^^^^^^^^^^^^^ | = note: ...which again requires processing ``, completing the cycle error: aborting due to 5 previous errors For more information about this error, try `rustc --explain E0391`.