1 error[E0391]: cycle detected when computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`
2 --> $DIR/issue-23305.rs:5:16
4 LL | impl dyn ToNbt<Self> {}
7 = note: ...which again requires computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`, completing the cycle
8 note: cycle used when collecting item types in top-level module
9 --> $DIR/issue-23305.rs:1:1
11 LL | pub trait ToNbt<T> {
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0391`.