summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/anonymize-bound-vars.rs
blob: eb7a12412c6ba2625f2d1bee6e98ac47ebefb65e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass
//
// regression test for #98702

trait Foo {
    type Assoc<T>;
}

impl Foo for () {
    type Assoc<T> = [T; 2*2];
}

fn main() {}