]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/issue-102335-gat.rs
Bless tests after rebase
[rust.git] / tests / 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() {}