remove some dead trans code
auto merge of #10061 : thestinger/rust/rustc, r=alexcrichton