auto merge of #16598 : bkoropoff/rust/import-shadow-name, r=alexcrichton

This partially alleviates the confusing behavior in issue #16597
Fix grammar of the accepted feature warning.
guide: function -> closure in explanation of closures
Remove the branch merging optimisations for slice patterns

They were only correct in the simplest case. Some of the optimisations
are certainly possible but should be introduced carefully and only
when the whole pattern codegen infrastructure is in a better shape.

Fixes #16648.
Defailbloat fail!(string)
auto merge of #16859 : alexcrichton/rust/snapshots, r=huonw
note about ref patterns in pointer guide

Fixes #13602
doc: Add another restriction to the list of ownership rules.
auto merge of #16873 : alexcrichton/rust/ignore-deadlocks, r=sfackler

This test apparently keeps making no progress and timing out builds on the OSX
builder, so this commit is switching the test to be ignored.

cc #16872
Allow ExprLit expression macros to be used in patterns.
auto merge of #16393 : SimonSapin/rust/patch-9, r=steveklabnik
gensym each test re-export module individually

Fixes #16597
auto merge of #16650 : ruud-v-a/rust/timespec-arithmetic, r=alexcrichton

This changes the `Add` and `Sub` implementations for `Timespec` introduced in #16573 to use `Duration` as the time span type instead of `Timespec` itself, as [suggested](https://github.com/rust-lang/rust/pull/16573#issuecomment-52593408) by @sfackler.

This depends on #16626, because is uses `Duration::seconds(i64)`, whereas currently `Duration::seconds` takes an `i32`.
test: Fix the tcp-accept-stress test

It was previously asserted that each thread received at least one connection,
but this is not guaranteed to always be the case due to scheduling. This test
also deadlocked on failure due to a lingering reference to the sending half of
the channel, so that reference is now also eagerly dropped so the test can fail
properly if something bad happens.

Closes #16872
rollup merge of #16716 : tshepang/temp
rollup merge of #16721 : tshepang/convenience
rollup merge of #16726 : tshepang/consistency
rollup merge of #16769 : rgawdzik/abs_doc_addition
rollup merge of #16778 : jbcrail/fix-issue-15826
rollup merge of #16780 : mdinger/marker_types