Remove FIXME #2699---I believe the calculation is correct. Fixes #2699.
Promote unreachable code to being a lint attribute
Fix a bug with HashMap::consume
Rewrite deriving(Decodable, Encodable)

Now it uses the generic deriving code and should in theory work in all cases.
mv the raw pointer {swap,replace}_ptr to std::ptr
ptr: replace unnecessary unsafe code
librustc: Don't require `pub extern` to make extern functions visible
xfail-fast the deriving test
Add as_c_str method on strings
bool: rm functions duplicating methods
fix tutorial lint warnings
auto merge of #6862 : thestinger/rust/swap, r=bstrie

I don't like the `util` module in general, and `ptr` is a much better place for these.
auto merge of #6864 : thestinger/rust/bool, r=pcwalton
extra::term overhaul
Use find_equiv in term
rustpkg borrowed pointers
Only output colors if colors are supported (removes burden from caller)
extra::term: better error handling and win32 compat
Fix formatting for tidy
auto merge of #6729 : bstrie/rust/ascstr, r=Aatch

Formerly this was a free function rather than a method. I've left it in place for now, although redefined it so that it just calls the method.