1 error[E0391]: cycle detected when processing `<impl at $DIR/issue-23305.rs:5:1: 5:20>`
2 --> $DIR/issue-23305.rs:5:12
4 LL | impl ToNbt<Self> {}
7 = note: ...which again requires processing `<impl at $DIR/issue-23305.rs:5:1: 5:20>`, 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`.