fn foo() { 1u.bar::(); //~ ERROR: missing `copy` } trait bar { fn bar(); } impl uint: bar { fn bar() { } } fn main() {}