Convert NOTEs to FIXMEs
rt: Comment out an assert in rust_kernel. #4711
core: Remove unwrap_shared_mutable_state. #4436
auto merge of #5176 : brson/rust/unwrap_shared_mutable_state, r=nikomatsakis

r?

This fixes the current [random failures](http://buildbot.rust-lang.org/builders/auto-linux/builds/291/steps/test/logs/stdio) on the bots and closes #4436 by removing `unwrap_shared_mutable_state` and the code that depends on it. The result is that ARC-like things will not be unwrappable. This feature is complex and is not used outside of test cases.

Note that there is not consensus to remove it.

(second commit)
Register snapshots
auto merge of #5177 : catamorphism/rust/register-snapshots, r=catamorphism

Note that this throws FreeBSD under the bus. Hopefully we'll pull it back out again soon.
Remove code that was awaiting a snapshot

* Disallow structural records everywhere
* Remove all #[cfg(stage0)] stuff
* Remove the last deprecated modes in libcore
* Un-xfail a test
auto merge of #5147 : nikomatsakis/rust/remove-legacy-trait-table, r=nikomatsakis

r? @pcwalton
testsuite: Re-xfail record-trailing-comma

It was xfailed before the other commits in this pull request,
so no big deal. I'll look into it later.
auto merge of #5180 : catamorphism/rust/post-snapshot, r=catamorphism

* Disallow structural records everywhere
* Remove all #[cfg(stage0)] stuff
* Remove the last deprecated modes in libcore
* Un-xfail a test
auto merge of #5162 : brson/rust/fixmes, r=brson
Add manual &self/ and &static/ and /&self declarations that
are currently inferred.  New rules are coming that will require
them to be explicit.  All add some explicit self declarations.
Permit either foo/&self or foo<'self>
Update region inference for traits so that a method with
explicit self doesn't incorrectly cause the entire trait to
be tagged as being region-parameterized.
convert FnCtxt methods from @mut self to &self
Convert region parameterization to change defaults and handle
methods correctly
Improve error messages when illegal lifetimes are used
Patch up auto_encode test to avoid unnecessary boxed objects
patch up pretty printing of things with both lifetime and type parameters