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