We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 729c50d + e7998bf commit 2c32cb7Copy full SHA for 2c32cb7
src/libcore/mem.rs
@@ -489,7 +489,6 @@ pub const fn needs_drop<T>() -> bool {
489
/// assert_eq!(0, x);
490
/// ```
491
#[inline]
492
-#[rustc_deprecated(since = "2.0.0", reason = "use `mem::MaybeUninit::zeroed` instead")]
493
#[stable(feature = "rust1", since = "1.0.0")]
494
pub unsafe fn zeroed<T>() -> T {
495
#[cfg(not(stage0))]
0 commit comments