rust/src/libcoretest
Alex Crichton 552eda70d3 std: Stabilize APIs for the 1.9 release
This commit applies all stabilizations, renamings, and deprecations that the
library team has decided on for the upcoming 1.9 release. All tracking issues
have gone through a cycle-long "final comment period" and the specific APIs
stabilized/deprecated are:

Stable

* `std::panic`
* `std::panic::catch_unwind` (renamed from `recover`)
* `std::panic::resume_unwind` (renamed from `propagate`)
* `std::panic::AssertUnwindSafe` (renamed from `AssertRecoverSafe`)
* `std::panic::UnwindSafe` (renamed from `RecoverSafe`)
* `str::is_char_boundary`
* `<*const T>::as_ref`
* `<*mut T>::as_ref`
* `<*mut T>::as_mut`
* `AsciiExt::make_ascii_uppercase`
* `AsciiExt::make_ascii_lowercase`
* `char::decode_utf16`
* `char::DecodeUtf16`
* `char::DecodeUtf16Error`
* `char::DecodeUtf16Error::unpaired_surrogate`
* `BTreeSet::take`
* `BTreeSet::replace`
* `BTreeSet::get`
* `HashSet::take`
* `HashSet::replace`
* `HashSet::get`
* `OsString::with_capacity`
* `OsString::clear`
* `OsString::capacity`
* `OsString::reserve`
* `OsString::reserve_exact`
* `OsStr::is_empty`
* `OsStr::len`
* `std::os::unix::thread`
* `RawPthread`
* `JoinHandleExt`
* `JoinHandleExt::as_pthread_t`
* `JoinHandleExt::into_pthread_t`
* `HashSet::hasher`
* `HashMap::hasher`
* `CommandExt::exec`
* `File::try_clone`
* `SocketAddr::set_ip`
* `SocketAddr::set_port`
* `SocketAddrV4::set_ip`
* `SocketAddrV4::set_port`
* `SocketAddrV6::set_ip`
* `SocketAddrV6::set_port`
* `SocketAddrV6::set_flowinfo`
* `SocketAddrV6::set_scope_id`
* `<[T]>::copy_from_slice`
* `ptr::read_volatile`
* `ptr::write_volatile`
* The `#[deprecated]` attribute
* `OpenOptions::create_new`

Deprecated

* `std::raw::Slice` - use raw parts of `slice` module instead
* `std::raw::Repr` - use raw parts of `slice` module instead
* `str::char_range_at` - use slicing plus `chars()` plus `len_utf8`
* `str::char_range_at_reverse` - use slicing plus `chars().rev()` plus `len_utf8`
* `str::char_at` - use slicing plus `chars()`
* `str::char_at_reverse` - use slicing plus `chars().rev()`
* `str::slice_shift_char` - use `chars()` plus `Chars::as_str`
* `CommandExt::session_leader` - use `before_exec` instead.

Closes #27719
cc #27751 (deprecating the `Slice` bits)
Closes #27754
Closes #27780
Closes #27809
Closes #27811
Closes #27830
Closes #28050
Closes #29453
Closes #29791
Closes #29935
Closes #30014
Closes #30752
Closes #31262
cc #31398 (still need to deal with `before_exec`)
Closes #31405
Closes #31572
Closes #31755
Closes #31756
2016-04-11 08:57:53 -07:00
..
fmt std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
hash Remove all unstable deprecated functionality 2015-08-12 14:55:17 -07:00
num cleanup int suffixes in libcoretest 2016-03-11 08:42:56 +05:30
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 added missing refcell ref/refmut coercions to unsized 2016-03-31 10:11:59 -04:00
char.rs std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07: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 cleanup int suffixes in libcoretest 2016-03-11 08:42:56 +05:30
lib.rs std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07: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 cleanup int suffixes in libcoretest 2016-03-11 08:42:56 +05:30
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 Avoid bounds check for slice binary search 2016-01-22 15:08:27 -02: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