rust/tests/ui/traits/issue-59029-1.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
244 B
Rust
Raw Normal View History

#![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`
2020-01-08 17:02:10 +00:00
//~| ERROR associated type `Res` not found for `Self`
fn main() {}