// xfail-test trait A { fn g(x: T, y: U) -> (T, U) { (move x, move y) } } impl int: A { } fn f>(i: V, j: T, k: U) -> (T, U) { i.g(move j, move k) } fn main () { assert f(0, 1, 2) == (1, 2); }