pub trait ToNbt { fn new(val: T) -> Self; } impl dyn ToNbt {} //~^ ERROR cycle detected fn main() {}