]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/anonymize-bound-vars.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / 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() {}