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