improve clone_from_slice performance
add intmax
Add assume intrinsic

Adds an `assume` intrinsic that gets translated to llvm.assume. It is
used on a boolean expression and allows the optimizer to assume that
the expression is true.

This implements #18051.
Improve documentation of assume intrinsic.
Parser: Fix spans of explicit self arg idents
Guide: articulate the advantages of ownership over garbage collection.

Explain the primary disadvantage of garbage collection is runtime
overhead and unpredictable pauses.  Elucidate where the name "race
condition" comes from.  Emphasize that Rust can guarantee your code is
free of race conditions and other memory errors, with no runtime
overhead.
rustdoc: hide private traits in strip-private pass

Fix #16563
Fix issue #17848 (Questionable advice in bug report instructions)
Adjust orphan rules to consider all input types, not just self type.

Fixes #18222.
Add test for issue #17594
auto merge of #18141 : phildawes/rust/master, r=brson

Hello! I noticed spans are wrong for the PatIdents of self args. (I use spans a lot in racer)
auto merge of #18223 : nikomatsakis/rust/coherence-orphan-18222, r=pcwalton

Adjust orphan rules to consider all input types, not just self type.

Fixes #18222.

r? @pcwalton
Guide: Adapt range values to variable name
auto merge of #18230 : cakebaker/rust/adapt_range_value_to_variable_name, r=steveklabnik

 The variable name <code>one_to_one_hundred</code> implies that it will contain a collection with the values from 1 to 100, but the collection contains the values from 0 to 99. This patch changes the ranges to produce a collection with the values from 1 to 100.
auto merge of #17846 : tomjakubowski/rust/rustdoc-hide-private-traits, r=alexcrichton

Fix #16563
auto merge of #18092 : michaelwoerister/rust/lldb-test-versioning, r=alexcrichton

Now that there are build bots with a stable enough LLDB version on OSX we can finally let the tests run on every PR!
:joy_cat:
auto merge of #18224 : nikomatsakis/rust/issue-17594, r=alexcrichton

Add test for issue #17594

Fixes #17594
Add run-pass-valgrind tests

Closes #16914
Move some tests to run-pass-valgrind
Make rpass-valgrind work with pretty