]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-59029-1.rs
Rollup merge of #88205 - danii:e0772, r=GuillaumeGomez
[rust.git] / src / test / ui / traits / issue-59029-1.rs
1 #![feature(trait_alias)]
2
3 trait Svc<Req> { type Res; }
4
5 trait MkSvc<Target, Req> = Svc<Target> where Self::Res: Svc<Req>;
6 //~^ ERROR associated type `Res` not found for `Self`
7 //~| ERROR associated type `Res` not found for `Self`
8
9 fn main() {}