Replace proc() with move ||
Don't derive Copy for bitflags

The bitflags! macro now includes #[deriving(Copy)] by default.