//@ check-pass trait Trait { type Output; fn method() -> >::Output; } impl Trait for () { type Output = (); fn method() {} } fn main() {}