#[lang = "sized"] pub trait Sized {} struct Foo(A, B); impl Foo { fn test(self, a: X) -> (T, X) { (self.0, a) } } fn main() { let a; a = Foo(123, 456f32); let b; b = a.test::(false); }