about summary refs log tree commit diff
path: root/tests/ui/traits/issue-59029-2.rs
blob: de767b24af9f0a25739aff47adbf72711d045037 (plain)
1
2
3
4
5
6
7
8
//@ check-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() {}