]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/ptr/mut_ptr.rs
Pointer metadata: add tracking issue number
[rust.git] / library / core / src / ptr / mut_ptr.rs
index f7da49290ae48f1275bd6f7fc4ffaccd7b1860d4..6651c3dd4e86bd90dd2657870f548f4c918411fb 100644 (file)
@@ -51,8 +51,8 @@ pub const fn cast<U>(self) -> *mut U {
     ///
     /// The pointer can be later reconstructed with [`from_raw_parts_mut`].
     #[cfg(not(bootstrap))]
-    #[unstable(feature = "ptr_metadata", issue = /* FIXME */ "none")]
-    #[rustc_const_unstable(feature = "ptr_metadata", issue = /* FIXME */ "none")]
+    #[unstable(feature = "ptr_metadata", issue = "81513")]
+    #[rustc_const_unstable(feature = "ptr_metadata", issue = "81513")]
     #[inline]
     pub const fn to_raw_parts(self) -> (*mut (), <T as super::Pointee>::Metadata) {
         (self.cast(), super::metadata(self))