libsyntax: Remove `extern mod foo { ... }` from the language.
librustc: Make `self` and `static` into keywords
libsyntax: Tighten up expressions in patterns to only allow identifiers or literals (possibly with a minus).

This had very minimal fallout.
libstd: Fix merge fallout.
Add vec.rs each2_mut function
Add vec.rs each2_mut testsuite
Better error for some unresolved imports

When trying to import nonexistent items from existing modules, specify that
that is what happened, rather than just reporting "unresolved name".
Use backticks to delineate paths/identifiers
librustdoc: Remove old-style extern mods from rustdoc tests.
auto merge of #6443 : cmr/rust/resolution, r=bstrie

When trying to import nonexistent items from existing modules, specify that
that is what happened, rather than just reporting "unresolved name".

Ideally the error would be reported on the span of the import... but I do not see a way to get a span there. Help appreciated :smile:
Update make dependencies of librust
auto merge of #6452 : alexcrichton/rust/fix-deps, r=bstrie

I changed the dependencies of librust in #6438, but I forgot to update the dependencies in the Makefile, this should have the dependencies right now.
test: Fix broken benchmark test
core: Move unstable to unstable/mod.rs
core: Move locks, atomic rc to unstable::sync
core: Rename SharedMutableState to UnsafeAtomicRcBox
auto merge of #6417 : pcwalton/rust/exprs-in-patterns, r=pcwalton

r? @graydon
auto merge of #6387 : brson/rust/unstable, r=brson

r? @pcwalton

* Move `SharedMutableState`, `LittleLock`, and `Exclusive` from `core::unstable` to `core::unstable::sync`
* Modernize the `SharedMutableState` interface with methods
* Rename `SharedMutableState` to `UnsafeAtomicRcBox` to match `RcBox`.
revert PriorityQueue to using init()

uninit() would result in potentially running a destructor on arbitrary
memory if the Ord implementation throws
auto merge of #6388 : recrack/rust/each2_mut, r=pcwalton

- vec.rs :add 'each2_mut function'
- testsuit : run-pass/vec-each2_mut.rs