Update to recent rust HEAD.

std::cast -> std::mem.