rustc: Remove task type defs from trans
auto merge of #7067 : brson/rust/notasktrans, r=graydon