Uh oh!
There was an error while loading. Please reload this page.
Remove items that are unstable and deprecated - #41437
Conversation
rust-highfive
commented
Apr 21, 2017
(rust_highfive has picked a reviewer for you, use r? to override) |
cuviper
commented
Apr 21, 2017
Things I didn't include (yet):
|
bors
commented
Apr 21, 2017
☔ The latest upstream changes (presumably #41342) made this pull request unmergeable. Please resolve the merge conflicts. |
[unstable, deprecated since 1.16.0]
[unstable, deprecated since 1.13.0]
[unstable, deprecated since 1.12.0]
[unstable, deprecated since 1.15.0]
[unstable, deprecated since 1.15.0]
[unstable, deprecated since 1.12.0]
[unstable, deprecated since 1.15.0]
[unstable, deprecated since 1.11.0]
[unstable, deprecated since 1.11.0]
37a785a to
c1aaa60Comparecuviper
commented
Apr 21, 2017
Rebased. |
| i8::min_value() / -i8::one(), | ||
| i16::min_value() / -i16::one(), | ||
| i32::min_value() / -i32::one(), | ||
| i64::min_value() / -i64::one(), |
There was a problem hiding this comment.
Why start using one here?
There was a problem hiding this comment.
Ah. Because I needed a local zero implemention anyway, so adding one is easy and gets rid of the compile-time warning that this is going to overflow. We could also go the other direction and use plain literals for all, which will then warn on every line. Or we could leave it as-is with zero() and -1, but the inconsistency bothered me. 😀
I don't think it matters to the actual test.
alexcrichton
commented
Apr 21, 2017
bors
commented
Apr 21, 2017
📌 Commit c1aaa60 has been approved by |
… r=alexcrichton Remove items that are unstable and deprecated This removes unstable items that have been deprecated for more than one cycle. - Since 1.16.0, `#![feature(enumset)]` - All of `mod collections::enum_set` - Since 1.15.0, `#![feature(borrow_state)]` - `cell::BorrowState` - `RefCell::borrow_state()` - Since 1.15.0, `#![feature(is_unique)]` - `Rc::is_unique()` (made private like `Arc::is_unique()`) - Since 1.15.0, `#![feature(rc_would_unwrap)]` - `Rc::would_wrap()` - Since 1.13.0, `#![feature(binary_heap_extras)]` - `BinaryHeap::push_pop()` - `BinaryHeap::replace()` - Since 1.12.0, `#![feature(as_unsafe_cell)]` - `Cell::as_unsafe_cell()` - `RefCell::as_unsafe_cell()` - Since 1.12.0, `#![feature(map_entry_recover_keys)]` - `btree_map::OccupiedEntry::remove_pair()` - `hash_map::OccupiedEntry::remove_pair()` - Since 1.11.0, `#![feature(float_extras)]` - `Float::nan()` - `Float::infinity()` - `Float::neg_infinity()` - `Float::neg_zero()` - `Float::zero()` - `Float::one()` - `Float::integer_decode()` - `f32::integer_decode()` - `f32::ldexp()` - `f32::frexp()` - `f32::next_after()` - `f64::integer_decode()` - `f64::ldexp()` - `f64::frexp()` - `f64::next_after()` - Since 1.11.0, `#![feature(zero_one)]` - `num::Zero` - `num::One`
… r=alexcrichton Remove items that are unstable and deprecated This removes unstable items that have been deprecated for more than one cycle. - Since 1.16.0, `#![feature(enumset)]` - All of `mod collections::enum_set` - Since 1.15.0, `#![feature(borrow_state)]` - `cell::BorrowState` - `RefCell::borrow_state()` - Since 1.15.0, `#![feature(is_unique)]` - `Rc::is_unique()` (made private like `Arc::is_unique()`) - Since 1.15.0, `#![feature(rc_would_unwrap)]` - `Rc::would_wrap()` - Since 1.13.0, `#![feature(binary_heap_extras)]` - `BinaryHeap::push_pop()` - `BinaryHeap::replace()` - Since 1.12.0, `#![feature(as_unsafe_cell)]` - `Cell::as_unsafe_cell()` - `RefCell::as_unsafe_cell()` - Since 1.12.0, `#![feature(map_entry_recover_keys)]` - `btree_map::OccupiedEntry::remove_pair()` - `hash_map::OccupiedEntry::remove_pair()` - Since 1.11.0, `#![feature(float_extras)]` - `Float::nan()` - `Float::infinity()` - `Float::neg_infinity()` - `Float::neg_zero()` - `Float::zero()` - `Float::one()` - `Float::integer_decode()` - `f32::integer_decode()` - `f32::ldexp()` - `f32::frexp()` - `f32::next_after()` - `f64::integer_decode()` - `f64::ldexp()` - `f64::frexp()` - `f64::next_after()` - Since 1.11.0, `#![feature(zero_one)]` - `num::Zero` - `num::One`
… r=alexcrichton Remove items that are unstable and deprecated This removes unstable items that have been deprecated for more than one cycle. - Since 1.16.0, `#![feature(enumset)]` - All of `mod collections::enum_set` - Since 1.15.0, `#![feature(borrow_state)]` - `cell::BorrowState` - `RefCell::borrow_state()` - Since 1.15.0, `#![feature(is_unique)]` - `Rc::is_unique()` (made private like `Arc::is_unique()`) - Since 1.15.0, `#![feature(rc_would_unwrap)]` - `Rc::would_wrap()` - Since 1.13.0, `#![feature(binary_heap_extras)]` - `BinaryHeap::push_pop()` - `BinaryHeap::replace()` - Since 1.12.0, `#![feature(as_unsafe_cell)]` - `Cell::as_unsafe_cell()` - `RefCell::as_unsafe_cell()` - Since 1.12.0, `#![feature(map_entry_recover_keys)]` - `btree_map::OccupiedEntry::remove_pair()` - `hash_map::OccupiedEntry::remove_pair()` - Since 1.11.0, `#![feature(float_extras)]` - `Float::nan()` - `Float::infinity()` - `Float::neg_infinity()` - `Float::neg_zero()` - `Float::zero()` - `Float::one()` - `Float::integer_decode()` - `f32::integer_decode()` - `f32::ldexp()` - `f32::frexp()` - `f32::next_after()` - `f64::integer_decode()` - `f64::ldexp()` - `f64::frexp()` - `f64::next_after()` - Since 1.11.0, `#![feature(zero_one)]` - `num::Zero` - `num::One`
frewsxcv
commented
Apr 22, 2017
Appveyor caught an unused import https://ci.appveyor.com/project/rust-lang/rust/build/1.0.3016/job/m7i7x867j8xr04i1 @bors r- |
cuviper
commented
Apr 22, 2017
Argh, OK. It's going to be a couple days before I can get back to this, unless a maintainer wants to push to my branch. There's no urgency here though. |
frewsxcv
commented
Apr 23, 2017
@bors r=alexcrichton |
bors
commented
Apr 23, 2017
📌 Commit 13d2534 has been approved by |
bors
commented
Apr 23, 2017
…hton Remove items that are unstable and deprecated This removes unstable items that have been deprecated for more than one cycle. - Since 1.16.0, `#![feature(enumset)]` - All of `mod collections::enum_set` - Since 1.15.0, `#![feature(borrow_state)]` - `cell::BorrowState` - `RefCell::borrow_state()` - Since 1.15.0, `#![feature(is_unique)]` - `Rc::is_unique()` (made private like `Arc::is_unique()`) - Since 1.15.0, `#![feature(rc_would_unwrap)]` - `Rc::would_wrap()` - Since 1.13.0, `#![feature(binary_heap_extras)]` - `BinaryHeap::push_pop()` - `BinaryHeap::replace()` - Since 1.12.0, `#![feature(as_unsafe_cell)]` - `Cell::as_unsafe_cell()` - `RefCell::as_unsafe_cell()` - Since 1.12.0, `#![feature(map_entry_recover_keys)]` - `btree_map::OccupiedEntry::remove_pair()` - `hash_map::OccupiedEntry::remove_pair()` - Since 1.11.0, `#![feature(float_extras)]` - `Float::nan()` - `Float::infinity()` - `Float::neg_infinity()` - `Float::neg_zero()` - `Float::zero()` - `Float::one()` - `Float::integer_decode()` - `f32::integer_decode()` - `f32::ldexp()` - `f32::frexp()` - `f32::next_after()` - `f64::integer_decode()` - `f64::ldexp()` - `f64::frexp()` - `f64::next_after()` - Since 1.11.0, `#![feature(zero_one)]` - `num::Zero` - `num::One`
bors
commented
Apr 23, 2017
☀️ Test successful - status-appveyor, status-travis |
cuviper
commented
Apr 23, 2017
Thanks for the fixup @frewsxcv! |
This removes unstable items that have been deprecated for more than one cycle.
#![feature(enumset)]mod collections::enum_set#![feature(borrow_state)]cell::BorrowStateRefCell::borrow_state()#![feature(is_unique)]Rc::is_unique()(made private likeArc::is_unique())#![feature(rc_would_unwrap)]Rc::would_wrap()#![feature(binary_heap_extras)]BinaryHeap::push_pop()BinaryHeap::replace()#![feature(as_unsafe_cell)]Cell::as_unsafe_cell()RefCell::as_unsafe_cell()#![feature(map_entry_recover_keys)]btree_map::OccupiedEntry::remove_pair()hash_map::OccupiedEntry::remove_pair()#![feature(float_extras)]Float::nan()Float::infinity()Float::neg_infinity()Float::neg_zero()Float::zero()Float::one()Float::integer_decode()f32::integer_decode()f32::ldexp()f32::frexp()f32::next_after()f64::integer_decode()f64::ldexp()f64::frexp()f64::next_after()#![feature(zero_one)]num::Zeronum::One