@@ -725,7 +725,7 @@ unsafe impl Send for TypeId {}
725
725
unsafe impl Sync for TypeId { }
726
726
727
727
#[ 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 " ) ]
729
729
impl const PartialEq for TypeId {
730
730
#[ inline]
731
731
fn eq ( & self , other : & Self ) -> bool {
@@ -773,7 +773,7 @@ impl TypeId {
773
773
/// ```
774
774
#[ must_use]
775
775
#[ 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 " ) ]
777
777
pub const fn of < T : ?Sized + ' static > ( ) -> TypeId {
778
778
const { intrinsics:: type_id :: < T > ( ) }
779
779
}
@@ -852,7 +852,7 @@ impl fmt::Debug for TypeId {
852
852
/// ```
853
853
#[ must_use]
854
854
#[ 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 " ) ]
856
856
pub const fn type_name < T : ?Sized > ( ) -> & ' static str {
857
857
const { intrinsics:: type_name :: < T > ( ) }
858
858
}
@@ -892,7 +892,7 @@ pub const fn type_name<T: ?Sized>() -> &'static str {
892
892
/// ```
893
893
#[ must_use]
894
894
#[ 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 " ) ]
896
896
pub const fn type_name_of_val < T : ?Sized > ( _val : & T ) -> & ' static str {
897
897
type_name :: < T > ( )
898
898
}
0 commit comments