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.
Fix ICE in overloaded call with incorrect arity

When an overloaded call expression has parameters but the function
object takes none, construct an array of formal argument types with
the arity of the call expression so that we don't fail by indexing out
of bounds later.

Closes #16939
Add regression test for issue #16939
Use match expression directly in guide.md

Use a match expression directly in the println statement, instead of creating a second variable.
Update LLVM to get slightly better memcpy elision
Check for borrow of local variable introduced within static block.

(Rather than ICE on it.)

Fix #18118.
Fix misaligned carot in guide
Fix warning in Struct sync::Mutex example

let mut value = mutex.lock();
warning: variable does not need to be mutable
Parser: Fix spans of explicit self arg idents
Mark lt as inline in PartialOrd
Fix fold explanation in the guide

The explanation of fold talks about three elements that should be summed, but it uses different values in the provided code.
auto merge of #18109 : bkoropoff/rust/issue-16939, r=aturon

Closes #16939
[Docs] intro typo
[Docs] more intro typos
auto merge of #18120 : jrincayc/rust/match_exp, r=thestinger

Use a match expression directly in the println statement, instead of creating a second variable.  It seems weird that the current guide.md complains about creating an extra variable, when the same feature could be demonstrated without creating the extra variable.
auto merge of #18123 : dotdash/rust/llvm_memcpy, r=alexcrichton
auto merge of #18124 : pnkfelix/rust/fsk-add-check-of-borrow-local-static, r=thestinger

Check for borrow of local variable introduced within static block.

(Rather than ICE on it.)

Fix #18118.