summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/issue-59029-1.rs
blob: 8ab47a4af1d2e92952ce4c3a40100bbea4ff410d (plain)
1
2
3
4
5
6
7
8
9
#![feature(trait_alias)]

trait Svc<Req> { type Res; }

trait MkSvc<Target, Req> = Svc<Target> where Self::Res: Svc<Req>;
//~^ ERROR associated type `Res` not found for `Self`
//~| ERROR associated type `Res` not found for `Self`

fn main() {}