Distinguish tuple elements by index in mem_categorization. Fixes #5362.
Add Ptr::to_option method
Typo corrected and updated copyright years
Add ARC::get method and implements the function from it. Add an example showing a simple use of ARC.
Update to stop unsolicited copying and mark methods as unsafe
Avoid range checks in HashMap::each()
Optimize the lookup of traits containing a given method

Currently, trait_info is a hashmap that allows a quick lookup of all
methods contained in a given trait, but we actually only use it to
lookup traits that contain a given method. Adjusting the map to support
the lookup we actually need gives a nice speed boost, reducing the time
required for the resolution step for librustc from ~2.6s to ~1.0s on my
box.
Correctly track the source of imports with the same name
auto merge of #6559 : jbclements/rust/hygiene-fns-and-cleanup, r=jbclements

This includes new, tested, hygiene support functions. It also removes the interner_key! macro and replaces it with a function, which should be inline-able. It also contains some parser patch-ups and some docfixes.

On my machine, this patch passes all tests.
Implement a lint mode to detect unnecessary allocations
Remove all unnecessary allocations (as flagged by lint)
Replace all uses of rust-intrinsic ABI with calls to unstable::intrinsics
auto merge of #6639 : osaut/rust/arc-clean, r=brson

* Add ARC::get method and implements the function from it.
* Add an example showing a simple use of ARC.

Update PR #6622 to avoid git noise.

I will remove the function get later.
core: Update clone docs
core::rt: Rename WorkQueue methods, remove extra push method
core::rt: Put a lock on the work queue
core::rt: Add MessageQueue type

This is the queue used to send messages to Schedulers
core::rt: Queues MessageQueue and WorkQueue are cloneable
core:rt:: Rename LocalServices to Task
core::rt: Add Local trait