summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-102335-gat.rs
blob: a7255fdcbf5e10c569e6a78c451599ec063cb91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
trait T {
    type A: S<C<(), i32 = ()> = ()>;
    //~^ ERROR associated type bindings are not allowed here
}

trait Q {}

trait S {
    type C<T>: Q;
}

fn main() {}