auto merge of #6380 : pcwalton/rust/core-text-ice, r=pcwalton
Remove redundant import error
Add to_str() for HashMaps, and some basic tests as well.
more back-ticks, less colons
Removed test_hashmap() for the time, being. All tests pass with make check.
Move flate from core to std
test: Use the new `for` protocol
Fix merge "failures"
auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwalton

Closes #6183.

The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout.

The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
auto merge of #6205 : brson/rust/flate, r=brson

r? @graydon

I don't think this is necessary in core.
Implement util::swap without the '<->' operator
Stop using the '<->' operator
Remove the '<->' operator from the language
Fix tests with the swap operator
auto merge of #6260 : alexcrichton/rust/issue-3466-no-swap, r=pcwalton

There may be a more efficient implementation of `core::util::swap_ptr`. The issue mentioned using `move_val_init`, but I couldn't figure out what that did, so I just used `copy_memory` a few times instead.

I'm not exactly the best at reading LLVM generated by rust, but this does appear to be optimized away just as expected (when possible).
Remove core executable
Test case for issue #4202
auto merge of #6368 : catamorphism/rust/issue-5315, r=catamorphism
auto merge of #6376 : nikomatsakis/rust/issue-6272-tests, r=graydon

r? @graydon
auto merge of #6384 : thomaslee/rust/issue-4202, r=catamorphism

This fixes the issue described in #4202.

From what I understood of the code, when we reexport a trait in a submodule using e.g. "pub use foo::SomeTrait", we were not previously making an effort to reexport the static methods on that trait.

I'm new to the Rust code base (and the Rust language itself) so my approach may not be kosher, but this patch works by changing the encoder to include the static methods associated with traits.

I couldn't see any tests for this area of the code, so I didn't really have any examples to go by. If tests are needed, I'm happy to work through that if I can get some assistance to do so.