diff options
| author | Ralf Jung <post@ralfj.de> | 2019-07-11 22:24:01 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-07-11 22:24:01 +0200 |
| commit | 608249703c1636ca541fa8b33be29db93d3177c0 (patch) | |
| tree | 081746d8dcc8f599ea11bdee86625725229d197c | |
| parent | 97b1128589fdaa786a7cf65c5a6ff7ed37a1d2f3 (diff) | |
| download | rust-608249703c1636ca541fa8b33be29db93d3177c0.tar.gz rust-608249703c1636ca541fa8b33be29db93d3177c0.zip | |
move mem::uninitialized deprecation back by 1 release, to 1.39
| -rw-r--r-- | RELEASES.md | 2 | ||||
| -rw-r--r-- | src/libcore/mem/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/RELEASES.md b/RELEASES.md index 5ceeea8d037..355e53cbed2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -62,7 +62,7 @@ Misc Compatibility Notes ------------------- - With the stabilisation of `mem::MaybeUninit`, `mem::uninitialized` use is no - longer recommended, and will be deprecated in 1.38.0. + longer recommended, and will be deprecated in 1.39.0. [60318]: https://github.com/rust-lang/rust/pull/60318/ [60364]: https://github.com/rust-lang/rust/pull/60364/ diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs index b62d81affdd..f2729168763 100644 --- a/src/libcore/mem/mod.rs +++ b/src/libcore/mem/mod.rs @@ -472,7 +472,7 @@ pub unsafe fn zeroed<T>() -> T { /// [`MaybeUninit<T>`]: union.MaybeUninit.html /// [inv]: union.MaybeUninit.html#initialization-invariant #[inline] -#[rustc_deprecated(since = "1.38.0", reason = "use `mem::MaybeUninit` instead")] +#[rustc_deprecated(since = "1.39.0", reason = "use `mem::MaybeUninit` instead")] #[stable(feature = "rust1", since = "1.0.0")] pub unsafe fn uninitialized<T>() -> T { MaybeUninit::uninit().assume_init() |
