//@ check-pass #![feature(trait_alias)] trait Svc { type Res; } trait MkSvc = Svc where >::Res: Svc; fn main() {}