//@ run-pass #![feature(fn_delegation)] #![allow(incomplete_features)] trait Trait { fn foo(&self, x: T, y: U) -> (T, U) { (x, y) } } impl Trait for () {} struct S(T, ()); impl S { reuse Trait::foo { self.1 } } fn main() { let s = S((), ()); assert_eq!(s.foo(1u32, 2i32), (1u32, 2i32)); }