]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-59029-1.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[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() {}