]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-102335-gat.rs
Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-se
[rust.git] / src / test / ui / generic-associated-types / issue-102335-gat.rs
1 trait T {
2     type A: S<C<(), i32 = ()> = ()>;
3     //~^ ERROR associated type bindings are not allowed here
4 }
5
6 trait Q {}
7
8 trait S {
9     type C<T>: Q;
10 }
11
12 fn main() {}