#![feature(trait_alias)] trait Svc { type Res; } trait MkSvc = Svc where Self::Res: Svc; //~^ ERROR associated type `Res` not found for `Self` //~| ERROR associated type `Res` not found for `Self` fn main() {}