auto merge of #8162 : thestinger/rust/no-copy, r=brson
rc: from_{owned,const} -> from_{send,freeze}
migrate many `for` loops to `foreach`