]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/intrinsics.rs
Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errors
[rust.git] / library / core / src / intrinsics.rs
index 4e32c514d5f68fbadbbe12732b48ac5f5658eeab..d1647c388594c83f13606217a943cb9b2a017384 100644 (file)
 use crate::sync::atomic::{self, AtomicBool, AtomicI32, AtomicIsize, AtomicU32, Ordering};
 
 #[stable(feature = "drop_in_place", since = "1.8.0")]
-#[rustc_deprecated(
-    reason = "no longer an intrinsic - use `ptr::drop_in_place` directly",
-    since = "1.52.0"
-)]
+#[deprecated(note = "no longer an intrinsic - use `ptr::drop_in_place` directly", since = "1.52.0")]
 #[inline]
 pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
     // SAFETY: see `ptr::drop_in_place`