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