rustc: Remove task type defs from trans