blob: e4d8082c05a7025e9bc6a866d22e01bb8b45b146 [file]
//@ check-pass
trait Trait<Input> {
type Output;
fn method() -> <Self as Trait<Input>>::Output;
}
impl<T> Trait<T> for () {
type Output = ();
fn method() {}
}
fn main() {}