# \[Done\] Remove or unstabilize all deprecated items in 1.0.0

**URL:** <https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945>\
**Category:** Uncategorized\
**Created:** [April 22, 2015, 6:50am UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945 "2015-04-22T06:50:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimonSapin](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/simonsapin/32/3158_2.png) [@SimonSapin](https://internals.rust-lang.org/u/SimonSapin)\
**Post date:** [April 22, 2015, 6:50am UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/1 "2015-04-22T06:50:29Z")

</div>

Per SemVer, major releases are the only time when we get to remove stuff. If 1.0.0 final contains any `#[deprecated]` item, we’ll be stuck with them until 2.0 (which hopefully will be in a very long time!)

Proposal: Make sure that all `#[deprecated]` items in 1.0.0 are also marked `#[unstable]`. This will effectively make them unavailable in beta and release builds, meaning we can remove them in some future 1.x release without breaking backward-compatibility. In terms of [release process](http://internals.rust-lang.org/t/release-channels-git-branching-and-the-release-process/1940), this means back-porting a patch to beta. Then a new beta pre-release might be good.

Alternative: remove deprecated items entirely.

CC @brson

---

<div class="post-metadata">

**Author:** ![bluss](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/bluss/32/2264_2.png) [@bluss](https://internals.rust-lang.org/u/bluss)\
**Post date:** [April 22, 2015, 8:46am UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/2 "2015-04-22T08:46:41Z")

</div>

Ok, so that’s

- MarkerTrait

- PhantomFn

- std::{f32, f64}::MIN\_VALUE, MIN\_POS\_VALUE, MAX\_VALUE, FRAC\_2\_SQRTPI, SQRT2, FRAC\_1\_SQRT2

- {f32, f64}::{is\_positive, is\_negative}

- std::num::Int, SignedInt, Float

- OsStr::from\_str

- AsOsStr

---

<div class="post-metadata">

**Author:** ![alexcrichton](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/alexcrichton/32/4501_2.png) [@alexcrichton](https://internals.rust-lang.org/u/alexcrichton)\
**Post date:** [April 22, 2015, 2:53pm UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/3 "2015-04-22T14:53:50Z")

</div>

This was all completed in [rust-lang/rust#24636](https://github.com/rust-lang/rust/pull/24636)

---

<div class="post-metadata">

**Author:** ![bluss](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/bluss/32/2264_2.png) [@bluss](https://internals.rust-lang.org/u/bluss)\
**Post date:** [April 22, 2015, 4:40pm UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/4 "2015-04-22T16:40:18Z")

</div>

These two still remain:

- std::num::f64::{is\_positive, is\_negative}

---

<div class="post-metadata">

**Author:** ![SimonSapin](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/simonsapin/32/3158_2.png) [@SimonSapin](https://internals.rust-lang.org/u/SimonSapin)\
**Post date:** [April 22, 2015, 5:03pm UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/5 "2015-04-22T17:03:24Z")

</div>

That’s apparently deliberate: [https://github.com/rust-lang/rust/issues/24691#issuecomment-95221929](https://github.com/rust-lang/rust/issues/24691#issuecomment-95221929)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [March 25, 2019, 8:24am UTC](https://internals.rust-lang.org/t/done-remove-or-unstabilize-all-deprecated-items-in-1-0-0/1945/6 "2019-03-25T08:24:22Z")

</div>

Closed on March 25, 2019, 8:24am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
