Convert NOTEs to FIXMEs
Fix license attribute on crates
Change bare functions so that they are represented by a single pointer.

The basic idea is that we add a new kind of adjustment, AutoAddEnv, that pads
an extern fn into a closure by adding the extra NULL word. Then there are a few
misc changes in trans to get the LLVM types to match up.

Fixes #4808.
rt: Comment out an assert in rust_kernel. #4711
core: Remove unwrap_shared_mutable_state. #4436
core: Address XXX, make static constants for strings used when stringifying floats
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)
Remove legacy object creation mode, and convert remaining uses of it
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
Merge remote branch 'sevrak/issue-5164' into incoming
librustc: "APL2" -> "ASL2". rs=license-fix
Merge remote branch 'nmatsakis/issue-4808-representation-of-extern-fn' into incoming
Merge pull request #5178 from catamorphism/constant-buffers

core: Address XXX, make static constants for strings used when stringify...
librustc: Add missing import. rs=burningtree