//@ check-pass //@ pretty-expanded FIXME #23616 trait I { fn i(&self) -> Self; } trait A { fn id(x:T) -> T { x.i() } } trait J { fn j(&self) -> T; } trait B> { fn id(x:T) -> T { x.j() } } trait C { fn id>(x:T) -> T { x.j() } } pub fn main() { }