sync with rust 42deaa5e4

This syncs with rustc's libserialize, and fixes fallout from the unboxed closure conversion.