auto merge of #16576 : steveklabnik/rust/static_analysis_gate, r=pcwalton

This has certain implications that are wrong.

Fixes #16299.
Guide: ownership
Improve text of Option.unwrap()

Fixes #9099
Remove innapropriate string mutability section.

Fixes #14948
Refactor BitV internals to not use macro, reduce duplication
Manual: add information about //!

Fixes #16569
librustc: Fix field offsets for packed structs.
Add test for passing/getting packed structs with ffi.
auto merge of #16575 : pcwalton/rust/import-foo-as-bar, r=aturon

of `use bar as foo`.

Change all uses of `use foo = bar` to `use bar as foo`.

Implements RFC #47.

Closes #16461.

[breaking-change]

r? @aturon
Explain EOF behavior in File.eof().

Fies #16239.
work around MinGW linker bug for ASLR on Windows

Closes #16514
Explain modulo in the guide.

Fixes #15954
auto merge of #16578 : steveklabnik/rust/gh16239, r=pcwalton

Fies #16239.
Fixing bitvset is_disjoint, fixes #16587
Make comment about small bias in %.

Fixes #16354.
Fix underflow bug in core::str::Searcher::new for haystacks of length < 20
auto merge of #16579 : steveklabnik/rust/gh9099, r=pcwalton

Fixes #9099
auto merge of #16580 : steveklabnik/rust/gh1498, r=pcwalton

Fixes #14948
auto merge of #16345 : EduardoBautista/rust/fix-error-message-in-guide, r=steveklabnik

Just some simple changes to the guide.
Add a test for the fix of issue 16589