Add /doc/{flate,rustdoc} to .gitignore
Minor fix to docs.
Feature gate #[simd]

Fixes #11721
Fix bug: metadata for struct constructor function needs to encode info
on its generic type parameters.

Test case to follow.
test case for issue #10031.
syntax: make deriving have slightly less cryptic error messages.

This unfortunately changes an error like

    error: mismatched types: expected `&&NotClone` but found `&NotClone`

into

    error: type `NotClone` does not implement any method in scope named `clone`
std: comment about OOM & allocs in begin_unwind_fmt.

Follow-up to #11841 which added this function.
Set SO_REUSEADDR by default in libnative.

Fixes std::net test error when re-running too quickly.
auto merge of #11826 : huonw/rust/7621-deriving-errors, r=alexcrichton

cc #7621.

See the commit message. I'm not sure if we should merge this now, or wait until we can write `Clone::clone(x)` which will directly solve the above issue with perfect error messages.
Add appropriate LLVM module flags for debug info.

Set "Dwarf Version" to 2 on OS X to avoid toolchain incompatibility, and
set "Debug Info Version" to prevent debug info from being stripped from
bitcode.

Fixes #11352.
auto merge of #11738 : dmanescu/rust/11721, r=alexcrichton

Fixes #11721
auto merge of #11833 : kballard/rust/gitignore-doc-flate-rustdoc, r=brson
auto merge of #11837 : xales/rust/doc-fixes, r=cmr,huonw,alexcrichton
auto merge of #11851 : pnkfelix/rust/fsk-fix-issue-10031, r=alexcrichton

Fix #10031.
auto merge of #11858 : huonw/rust/11841-followup, r=brson

Follow-up to #11841 which added this function.
auto merge of #11864 : comex/rust/11352, r=alexcrichton

Set "Dwarf Version" to 2 on OS X to avoid toolchain incompatibility, and
set "Debug Info Version" to prevent debug info from being stripped from
bitcode.

Fixes #11352.
auto merge of #11845 : xales/rust/libnative, r=alexcrichton

Fixes std::net test error when re-running too quickly.

Suggested by @cmr
Update extract-tests.py to use same test directives as rustdoc.

Closes #11362.
auto merge of #11490 : wting/rust/wting_11362_update_extract_tests, r=alexcrichton

Refactored the file quite a bit, I can add unit tests if desired. There's a few changes from the previous version's behavior:

- destination directory will be created if it doesn't exist
- strings and file is written as unicode

I have a few questions, but will ask them in #11362.