summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-59029-2.rs
blob: 2bdb128d8c4c8af18121625ee55867223e3f2af5 (plain)
1
2
3
4
5
6
7
8
// run-pass
#![feature(trait_alias)]

trait Svc<Req> { type Res; }

trait MkSvc<Target, Req> = Svc<Target> where <Self as Svc<Target>>::Res: Svc<Req>;

fn main() {}