libstd: Implement `StrBuf`, a new string buffer type like `Vec`, and
port all code over to use it.
rustc: rename ty::vstore and its variants to UpperCamelCase.
rustc: use VstoreFixed's length in crate-independent type hashes.
rustc: move mutability from ty_vec and ty_trait to VstoreSlice and RegionTraitStore.
debuginfo: Improve source code position assignment for inlined functions.

This commit makes sure that code inlined from other functions isn't assigned the source position of the call site, since this leads to undesired behavior when setting line breakpoints (issue #12886)
debuginfo: Implement discriminator type metadata re-use.

An optimization for sharing the type metadata of generic enum discriminators between monomorphized instances (fixes issue #12840)
debuginfo: Don't create debuginfo for statics inlined from other crates.

Fixes issue #13213, that is linker errors when the inlined static has been optimized out of the exporting crate.
Remove references to @Trait from a compiler error message
Fix outdated lint warning about inner attribute

It suggested adding a semicolon instead of the new syntax using an exclamation
mark.
std,serialize: remove some internal uses of ~[].

These are all private uses of ~[], so can easily & non-controversially
be replaced with Vec.
std,native,green,rustuv: make readdir return `Vec`.

Replacing `~[]`. This also makes the `walk_dir` iterator use a `Vec`
internally.
std,syntax: make std::fmt::parse use `Vec`s.
green: de-~[].
native: remove some internal ~[].
Remove some internal ~[] from several libraries.

Some straggling instances of `~[]` across a few different libs. Also,
remove some public ones from workcache.
Stop using transmute_mut in RefCell

This is supposedly undefined behavior now that Unsafe exists, so we'll
use Cell instead.
Remove an unnecessary file.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Generalized the pretty-print entry points to support `-o <file>`.
test: Add a test for #7663

I think that the test case from this issue has become out of date with resolve
changes in the past 9 months, and it's not entirely clear to me what the
original bug was.

Regardless, it seems like tricky resolve behavior, so tests were added to make
sure things resolved correctly and warnings were correctly reported.

Closes #7663
mk: Add a dummy CFG_COMPILER_HOST_TRIPLE to rustdoc invocation.

Otherwise it will prohibit `make compiler-docs` on Windows.