blob: 65340b413e9c5ce204006982f45448a7679d9f8b [file] [log] [blame]
//@ check-pass
//@ pretty-expanded FIXME #23616
trait Trait<Input> {
type Output;
fn method() -> <Self as Trait<Input>>::Output;
}
impl<T> Trait<T> for () {
type Output = ();
fn method() {}
}
fn main() {}