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.
1 parent 33b0b71 commit e7998bfCopy full SHA for e7998bf
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