fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0391]: cycle detected when processing `<impl at $DIR/issue-23305.rs:5:1: 5:24>` 2 --> $DIR/issue-23305.rs:5:16 3 | 4LL | impl dyn ToNbt<Self> {} 5 | ^^^^ 6 | 7 = note: ...which again requires processing `<impl at $DIR/issue-23305.rs:5:1: 5:24>`, completing the cycle 8note: cycle used when collecting item types in top-level module 9 --> $DIR/issue-23305.rs:1:1 10 | 11LL | pub trait ToNbt<T> { 12 | ^^^^^^^^^^^^^^^^^^ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0391`.