Add /doc/{flate,rustdoc} to .gitignore
Minor fix to docs.
Depend on libnative when testing

The stdtest binary uses both libnative and libgreen to test the two
implementations

Closes #11843
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.
auto merge of #11847 : alexcrichton/rust/fix-test-deps, r=pcwalton

The stdtest binary uses both libnative and libgreen to test the two
implementations

Closes #11843
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`
can borrow mut in proc Fixes #10617
std: comment about OOM & allocs in begin_unwind_fmt.

Follow-up to #11841 which added this function.
auto merge of #11626 : nickdesaulniers/rust/issue10617, r=alexcrichton

#10617
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