rustc: Less copy
auto merge of #4795 : catamorphism/rust/less-copy, r=catamorphism