Make shift_ref and mut_shift_ref return Option instead of failing
Make pop_ref and mut_pop_ref return Option instead of failing on empty vectors
Make mut_last return Option instead of failing on empty vector (and add a test for mut_last)
Handle attributes on cross-crate tuple-structs correctly

Fixes #11741
Fix rustpkg tests with --disable-inject-std-version

Right now the bots are all injecting a libstd version, so all the rustpkg tests
are passing. All rustpkg compilations will fail unless the version number is
explicitly given because rustpkg attempts to exactly guess the target file name.
Switch back to using a pattern match in order to unbreak tests.

Closes #11852
Make next_power_of_two generic for unsigned integers

Also rename `next_power_of_two_opt` to `checked_next_power_of_two`.
Remove some unused imports
Remove free-standing div functions in std::uint
Move int and uint overflow tests into macros
Added minmax function.
Tests ok
Un-xfail test for 7385

I've verified that it works on osx x86_64

Closes #7385
Fix minor doc typos
Add test case for issue 7911
bump minimum supported OS X version to 10.7

Closes #11927
Closes #10842
Closes #2024
mark Windows 8 as supported
mark the minimum supported Linux kernel version

This is just taken from the binary itself. It would be nice to mark the
minimum glibc version too, and the corresponding RHEL/CentOS version.
Add test cases for #4063.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
Add test for sensible #[start] error message.

Fixes #9575.
Remove the obsolete handler for `impl A;`.

This is has been obsolete for quite a while now (including a release),
so removing the special handling seems fine. (The error message is quite
good still anyway.)

Fixes #9580.
Test for null buffer in CString.len()/.iter() and fail

Also change .as_str() to fail on null buffer.