@@ -725,7 +725,7 @@ unsafe impl Send for TypeId {}
725725unsafe impl Sync for TypeId {}
726726
727727#[stable(feature = "rust1", since = "1.0.0")]
728- #[rustc_const_unstable(feature = "const_type_id ", issue = "77125 ")]
728+ #[rustc_const_unstable(feature = "const_cmp ", issue = "143800 ")]
729729impl const PartialEq for TypeId {
730730 #[inline]
731731 fn eq(&self, other: &Self) -> bool {
@@ -773,7 +773,7 @@ impl TypeId {
773773 /// ```
774774 #[must_use]
775775 #[stable(feature = "rust1", since = "1.0.0")]
776- #[rustc_const_unstable (feature = "const_type_id", issue = "77125 ")]
776+ #[rustc_const_stable (feature = "const_type_id", since = "CURRENT_RUSTC_VERSION ")]
777777 pub const fn of<T: ?Sized + 'static>() -> TypeId {
778778 const { intrinsics::type_id::<T>() }
779779 }
@@ -852,7 +852,7 @@ impl fmt::Debug for TypeId {
852852/// ```
853853#[must_use]
854854#[stable(feature = "type_name", since = "1.38.0")]
855- #[rustc_const_unstable (feature = "const_type_name", issue = "63084 ")]
855+ #[rustc_const_stable (feature = "const_type_name", since = "CURRENT_RUSTC_VERSION ")]
856856pub const fn type_name<T: ?Sized>() -> &'static str {
857857 const { intrinsics::type_name::<T>() }
858858}
@@ -892,7 +892,7 @@ pub const fn type_name<T: ?Sized>() -> &'static str {
892892/// ```
893893#[must_use]
894894#[stable(feature = "type_name_of_val", since = "1.76.0")]
895- #[rustc_const_unstable (feature = "const_type_name", issue = "63084 ")]
895+ #[rustc_const_stable (feature = "const_type_name", since = "CURRENT_RUSTC_VERSION ")]
896896pub const fn type_name_of_val<T: ?Sized>(_val: &T) -> &'static str {
897897 type_name::<T>()
898898}
0 commit comments