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

trait Trait1 {
    type A;
}

trait Trait2 {
    type Type1<B>: Trait1<A=B>;
    //~^ ERROR: generic associated types are unstable
}

fn main() {}