]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-59029-1.rs
Auto merge of #89404 - Kobzol:hash-stable-sort, r=Mark-Simulacrum
[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() {}