1 2 3 4 5 6 7
trait Tr : Sized { fn test<X>(u: X) -> Self { u //~ ERROR mismatched types } } fn main() {}