Support linking of rlib files in rustpkg
Fix indention
document file!
Fix documentation typos
Scan the entire crate for exported macros

It previously missed anything in an inner module.
Register new snapshots

Upgrade the version to 0.10-pre
auto merge of #11674 : indirect/rust/doc_file, r=alexcrichton

Found out about `file!` today from o11c in IRC.
auto merge of #11684 : FlaPer87/rust/doc_typos, r=cmr
auto merge of #11687 : sfackler/rust/macro-export-inner-crate, r=alexcrichton

It previously missed anything in an inner module.
auto merge of #11699 : alexcrichton/rust/snapshot, r=huonw

Upgrade the version to 0.10-pre
Add support for ARM thumb architecture
rustc: add lint for parens in if, while, match and return.

The parens in `if (true) {}` are not not necessary, so we'll warn about
them.
Remove unnecessary parentheses.
auto merge of #11663 : huonw/rust/paren-lint, r=cmr

The parens in `if (true) {}` are not necessary, so we'll warn about them.

cc #3070 and #11432
Flag all TLS functions as inline(never)

There's lots of fun rationale in the comments of the diff.

Closes #11683
Stop using hardcoded numbers for -Z options

Instead use a macro and generate them!
Remove obsoleted -Z options

* borrowck_note_pure - unused
* borrowck_note_loan - unused
* no_debug_borrows - unused
* lint_llvm - equivalent to -Z no-prepopulate-passes + --llvm-passes lint
Purge borrowck from libstd

This hasn't been in use since `@mut` was removed
Capitalize debugging opts and make them u64
Remove no-debug-borrows from the makefiles