]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/issue-59029-1.rs
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / 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() {}