relicense shootout-meteor.rs

part of #14248, fix #14420

Removed @richo's contribution (outdated comment)

Quoting @brson: let's move forward with this one. The only
statement I'm missing is @richo's and it sounds like his was a
minor patch.
Update AUTHORS.txt
Remove a warning  (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules
How about a less cringe-worthy double-failure message?
Purged "record" from the manual.

Also updated/corrected a few other details in the tuple and struct sections.
mk: Move rust_test_helpers out of libstd

There's no need to distribute these ABI helpers for tests with the standard rust
distribution they're only needed for our tests.

Closes #2665
auto merge of #14669 : TeXitoi/rust/relicense-shootout-meteor, r=brson

part of #14248, fix #14420

Removed @richo's contribution (outdated comment)

Quoting @brson: let's move forward with this one. The only
statement I'm missing is @richo's and it sounds like his was a
minor patch.
Fix documentation for `slice()`

Fixes https://github.com/mozilla/rust/issues/14577
Document BigInt's new and from_slice methods

Fixes https://github.com/mozilla/rust/issues/14639
Change to_str().to_string() to just to_str()
auto merge of #14667 : aochagavia/rust/pr2, r=huonw
auto merge of #14668 : aochagavia/rust/pr3, r=alexcrichton

Closes https://github.com/mozilla/rust/issues/14577
Closes https://github.com/mozilla/rust/issues/14639
auto merge of #14671 : aochagavia/rust/patch-1, r=alexcrichton
auto merge of #14673 : sylvestre/rust/master, r=alexcrichton

 Remove a warning (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules
auto merge of #14676 : brson/rust/double-rainbow, r=alexcrichton
auto merge of #14677 : alexcrichton/rust/issue-2665, r=brson

There's no need to distribute these ABI helpers for tests with the standard rust
distribution they're only needed for our tests.

Closes #2665
Clean up check_loans.

Refactor a number of functions in check_loans to take node IDs and spans
rather than taking expressions directly. Also rename some variables to
make them less ambiguous.

This is the first step towards using ExprUseVisitor in check_loans, as
now some of the interfaces more closely match those used in
ExprUseVisitor.
Fix mem_categorization to treat an AutoObject adjustment as an rvalue.

Currently mem_categorization categorizes an AutoObject adjustment the
same as the original expression. This can cause two moves to be
generated for the same underlying expression. Currently this isn't a
problem in practice, since check_loans doesn't rely on ExprUseVisitor.
Add an Init mode to MutateMode.

This isn't necessary right now, but check_loans needs to be able to
distinguish between initialization and writes in the ExprUseVisitor
mutate callback.
Add a move reason to the Move ConsumeMode.

Currently it is not possible to distinguish moves caused by captures
in the ExprUseVisitor interface. Since check_Loans needs to make that
distinction for generating good diagnostics, this is necessary for
check_loans to switch to ExprUseVisitor.