summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-67424.rs
blob: b6c7c70cd83183d85b0085ec2598de2f2be9fb16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// Fixed by #67160

trait Trait1 {
    type A;
}

trait Trait2 {
    type Type1<B>: Trait1<A=B>;
}

fn main() {}