rustc: Anti-copy police
auto merge of #5899 : catamorphism/rust/copy-cops, r=catamorphism