summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/elaborate-item-bounds.rs
blob: 076aefcf8fc60afedc88307195ffde433d5a5d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// compile-flags: -Ztrait-solver=next
// check-pass

trait Foo {
    type Bar: Bar;
}

trait Bar: Baz {}

trait Baz {}

fn main() {}