update to be compatible to the change of do and closure in rustc master.