error[E0220]: associated type `Res` not found for `Self` --> $DIR/issue-59029-1.rs:5:46 | LL | trait MkSvc = Svc where Self::Res: Svc; | ^^^^^^^^^ associated type `Res` not found error: aborting due to previous error For more information about this error, try `rustc --explain E0220`.