summary refs log tree commit diff
path: root/src/test/ui/resolve/issue-23305.rs
blob: af335acd41bc34a51b8518cedf8de45ca824053b (plain)
1
2
3
4
5
6
7
8
pub trait ToNbt<T> {
    fn new(val: T) -> Self;
}

impl ToNbt<Self> {}
//~^ ERROR cycle detected

fn main() {}