Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 261 Bytes
// build-pass (FIXME(62277): could be 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() {}
You can’t perform that action at this time.