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

trait Q {}

trait S {
    type C: Q;
}

fn main() {}