struct C { x: uint, } fn C(x: uint) -> C { C { x: x } } fn f(_x: T) { } #[deny(non_implicitly_copyable_typarams)] fn main() { f(C(1u)); }