extern crate foobar as foo;

Implements remaining part of RFC #47.
Addresses issue #16461.

Removed link_attrs from rust.md, they don't appear to be supported by
the parser.

Changed all the tests to use the new extern crate syntax

Change pretty printer to use 'as' syntax
doc: remove misleading/confusing info

We have to specify the module and the function name in the example where
the module shares a crate with the executable as well, so remove the
redundant (and potentially confusing) mention.
librustc: Restrict transmute intrinsicck to just rust-intrinsic fn's.
Add tests to make sure intrinsicck doesn't apply to non-intrinsic fn's.
Use cargo run in more places
auto merge of #16689 : wickerwaka/rust/crate-as, r=pcwalton

For review. Not sure about the link_attrs stuff. Will work on converting all the tests.

extern crate "foobar" as foo;
extern crate foobar as foo;

Implements remaining part of RFC #47.
Addresses issue #16461.

Removed link_attrs from rust.md, they don't appear to be supported by
the parser.
auto merge of #16724 : tshepang/rust/misleading, r=brson

We have to specify the module and the function name in the example where
the module shares a crate with the executable as well, so remove the
redundant (and potentially confusing) mention.
auto merge of #16751 : luqmana/rust/tr, r=alexcrichton

Fixes #15562.
auto merge of #16752 : MatejLach/rust/more_cargorun, r=steveklabnik

Use cargo run as much as possible...
debuginfo: Allow to activate GDB pretty printers in autotests.
debuginfo: Add GDB pretty printers for structs and enums.
debuginfo: Emit different autotest debugger scripts depending on GDB version.
debuginfo: Improve GDB version handling in compiletest tool
debuginfo: Make check-lite also execute debuginfo tests for try branch