]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/anonymize-bound-vars.rs
Rollup merge of #102954 - GuillaumeGomez:cfg-hide-attr-checks, r=Manishearth
[rust.git] / src / test / ui / generic-associated-types / anonymize-bound-vars.rs
1 // check-pass
2 //
3 // regression test for #98702
4
5 trait Foo {
6     type Assoc<T>;
7 }
8
9 impl Foo for () {
10     type Assoc<T> = [T; 2*2];
11 }
12
13 fn main() {}