rust/src/libcoretest
Manish Goregaokar 80e21d1958 Rollup merge of #30943 - alexcrichton:stabilize-1.7, r=aturon
This commit stabilizes and deprecates the FCP (final comment period) APIs for
the upcoming 1.7 beta release. The specific APIs which changed were:

Stabilized

* `Path::strip_prefix` (renamed from `relative_from`)
* `path::StripPrefixError` (new error type returned from `strip_prefix`)
* `Ipv4Addr::is_loopback`
* `Ipv4Addr::is_private`
* `Ipv4Addr::is_link_local`
* `Ipv4Addr::is_multicast`
* `Ipv4Addr::is_broadcast`
* `Ipv4Addr::is_documentation`
* `Ipv6Addr::is_unspecified`
* `Ipv6Addr::is_loopback`
* `Ipv6Addr::is_unique_local`
* `Ipv6Addr::is_multicast`
* `Vec::as_slice`
* `Vec::as_mut_slice`
* `String::as_str`
* `String::as_mut_str`
* `<[T]>::clone_from_slice` - the `usize` return value is removed
* `<[T]>::sort_by_key`
* `i32::checked_rem` (and other signed types)
* `i32::checked_neg` (and other signed types)
* `i32::checked_shl` (and other signed types)
* `i32::checked_shr` (and other signed types)
* `i32::saturating_mul` (and other signed types)
* `i32::overflowing_add` (and other signed types)
* `i32::overflowing_sub` (and other signed types)
* `i32::overflowing_mul` (and other signed types)
* `i32::overflowing_div` (and other signed types)
* `i32::overflowing_rem` (and other signed types)
* `i32::overflowing_neg` (and other signed types)
* `i32::overflowing_shl` (and other signed types)
* `i32::overflowing_shr` (and other signed types)
* `u32::checked_rem` (and other unsigned types)
* `u32::checked_shl` (and other unsigned types)
* `u32::saturating_mul` (and other unsigned types)
* `u32::overflowing_add` (and other unsigned types)
* `u32::overflowing_sub` (and other unsigned types)
* `u32::overflowing_mul` (and other unsigned types)
* `u32::overflowing_div` (and other unsigned types)
* `u32::overflowing_rem` (and other unsigned types)
* `u32::overflowing_neg` (and other unsigned types)
* `u32::overflowing_shl` (and other unsigned types)
* `u32::overflowing_shr` (and other unsigned types)
* `ffi::IntoStringError`
* `CString::into_string`
* `CString::into_bytes`
* `CString::into_bytes_with_nul`
* `From<CString> for Vec<u8>`
* `From<CString> for Vec<u8>`
* `IntoStringError::into_cstring`
* `IntoStringError::utf8_error`
* `Error for IntoStringError`

Deprecated

* `Path::relative_from` - renamed to `strip_prefix`
* `Path::prefix` - use `components().next()` instead
* `os::unix::fs` constants - moved to the `libc` crate
* `fmt::{radix, Radix, RadixFmt}` - not used enough to stabilize
* `IntoCow` - conflicts with `Into` and may come back later
* `i32::{BITS, BYTES}` (and other integers) - not pulling their weight
* `DebugTuple::formatter` - will be removed
* `sync::Semaphore` - not used enough and confused with system semaphores

Closes #23284
cc #27709 (still lots more methods though)
Closes #27712
Closes #27722
Closes #27728
Closes #27735
Closes #27729
Closes #27755
Closes #27782
Closes #27798
2016-01-17 17:25:47 +05:30
..
fmt Add unused modules to libcoretest 2015-10-16 21:15:23 +02:00
hash Remove all unstable deprecated functionality 2015-08-12 14:55:17 -07:00
num std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
any.rs Implement Any for unsized types 2016-01-14 23:02:32 -08:00
array.rs Implement FixedSizeArray for all fixed size arrays 2015-08-31 10:55:39 +02:00
atomic.rs core: Shuffle around float parsing 2015-08-17 19:35:52 -07:00
cell.rs Miscellaneous cleanup for old issues. 2015-09-20 11:37:08 +01:00
char.rs Make style more uniform, add tests for specialization of .last(), move tests to libcoretest 2016-01-16 09:12:09 +01:00
clone.rs Add unused modules to libcoretest 2015-10-16 21:15:23 +02:00
cmp.rs Remove all unstable deprecated functionality 2015-08-12 14:55:17 -07:00
intrinsics.rs Add unused modules to libcoretest 2015-10-16 21:15:23 +02:00
iter.rs std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
lib.rs std: Remove deprecated functionality from 1.5 2015-12-10 11:47:55 -08:00
mem.rs std: Remove #[old_orphan_check] from PartialEq 2015-03-31 13:39:14 -07:00
nonzero.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
ops.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
option.rs core: Implement IntoIterator for Option and Result references 2015-08-27 18:48:41 +02:00
ptr.rs Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
result.rs core: Implement IntoIterator for Option and Result references 2015-08-27 18:48:41 +02:00
slice.rs O(1) count,nth,last for slice::Windows,Chunks(Mut) 2015-08-12 08:34:51 -07:00
str.rs Moved coretest::str tests into collectiontest::str 2015-04-05 18:52:58 +02:00
tuple.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00