mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
10 lines
244 B
Rust
10 lines
244 B
Rust
#![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`
|
|
//~| ERROR associated type `Res` not found for `Self`
|
|
|
|
fn main() {}
|