1
- #![ unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
1
+ #![ unstable( feature = "ptr_metadata" , issue = "81513 ") ]
2
2
3
3
use crate :: fmt;
4
4
use crate :: hash:: { Hash , Hasher } ;
@@ -72,7 +72,7 @@ pub trait Pointee {
72
72
/// assert_eq!(std::mem::size_of::<&T>(), std::mem::size_of::<usize>())
73
73
/// }
74
74
/// ```
75
- #[ unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
75
+ #[ unstable( feature = "ptr_metadata" , issue = "81513 ") ]
76
76
// NOTE: don’t stabilize this before trait aliases are stable in the language?
77
77
pub trait Thin = Pointee < Metadata = ( ) > ;
78
78
@@ -88,7 +88,7 @@ pub trait Thin = Pointee<Metadata = ()>;
88
88
///
89
89
/// assert_eq!(std::ptr::metadata("foo"), 3_usize);
90
90
/// ```
91
- #[ rustc_const_unstable( feature = "ptr_metadata", issue = /* FIXME */ "none ") ]
91
+ #[ rustc_const_unstable( feature = "ptr_metadata", issue = " 81513 ") ]
92
92
#[ inline]
93
93
pub const fn metadata < T : ?Sized > ( ptr: * const T ) -> <T as Pointee >:: Metadata {
94
94
// SAFETY: Accessing the value from the `PtrRepr` union is safe since *const T
@@ -104,8 +104,8 @@ pub const fn metadata<T: ?Sized>(ptr: *const T) -> <T as Pointee>::Metadata {
104
104
/// For trait objects, the metadata must come from a pointer to the same underlying ereased type.
105
105
///
106
106
/// [`slice::from_raw_parts`]: crate::slice::from_raw_parts
107
- #[ unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
108
- #[ rustc_const_unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
107
+ #[ unstable( feature = "ptr_metadata" , issue = "81513 ") ]
108
+ #[ rustc_const_unstable( feature = "ptr_metadata" , issue = "81513 ") ]
109
109
#[ inline]
110
110
pub const fn from_raw_parts < T : ?Sized > (
111
111
data_address : * const ( ) ,
@@ -121,8 +121,8 @@ pub const fn from_raw_parts<T: ?Sized>(
121
121
/// raw `*mut` pointer is returned, as opposed to a raw `*const` pointer.
122
122
///
123
123
/// See the documentation of [`from_raw_parts`] for more details.
124
- #[ unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
125
- #[ rustc_const_unstable( feature = "ptr_metadata" , issue = /* FIXME */ "none ") ]
124
+ #[ unstable( feature = "ptr_metadata" , issue = "81513 ") ]
125
+ #[ rustc_const_unstable( feature = "ptr_metadata" , issue = "81513 ") ]
126
126
#[ inline]
127
127
pub const fn from_raw_parts_mut < T : ?Sized > (
128
128
data_address : * mut ( ) ,
0 commit comments