Issue #5967: Make rvalues mutable
Add explanatory comment to is_rvalue_or_immutable()
main() is in ./rustc.rc. use "./../" pattern some more
Add two tests for rvalue mutability
correct typo
auto merge of #6473 : nikomatsakis/rust/issue-5967-rvalue-immutability, r=pcwalton

Simpler version of PR #5974 based on new borrowck.
auto merge of #6536 : kud1ing/rust/patch-1, r=brson
rustc: Change ty::get_impl_traits to return an option instead of a vec

Impls can implement either zero or one traits; this has been true
more or less since we removed classes. So I got rid of the comments
saying "we should support multiple traits" and changed the code to
make it clear that we don't. This is just cleanup, and doesn't break
any existing tests.
auto merge of #6543 : catamorphism/rust/traits-cleanup, r=nikomatsakis

r? @nikomatsakis Impls can implement either zero or one traits; this has been true
more or less since we removed classes. So I got rid of the comments
saying "we should support multiple traits" and changed the code to
make it clear that we don't. This is just cleanup, and doesn't break
any existing tests.
rustc: One less bad copy
rustc: Remove import that is, indeed, not necessary
auto merge of #6545 : catamorphism/rust/unused-import, r=catamorphism
Add reverse_part, replace each_permutation, add tests
Ensure reverse_part does not access outside given vector
Update to modern rust
iter: add fold, sum and product
auto merge of #6544 : thestinger/rust/new_iter, r=nikomatsakis
Remove each_permutation_ref
Update to new for-loop protocol
auto merge of #6523 : cmr/rust/faster_each_permutation, r=luqmana

Closes #5127