File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ impl TypeId {
435
435
/// assert_eq!(is_string(&"cookie monster".to_string()), true);
436
436
/// ```
437
437
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
438
- #[ rustc_const_stable ( feature = "const_type_id" , since = "1.46.0 " ) ]
438
+ #[ rustc_const_unstable ( feature = "const_type_id" , issue = "63084 " ) ]
439
439
pub const fn of < T : ?Sized + ' static > ( ) -> TypeId {
440
440
TypeId { t : intrinsics:: type_id :: < T > ( ) }
441
441
}
Original file line number Diff line number Diff line change @@ -807,7 +807,7 @@ extern "rust-intrinsic" {
807
807
/// crate it is invoked in.
808
808
///
809
809
/// The stabilized version of this intrinsic is [`crate::any::TypeId::of`].
810
- #[ rustc_const_stable ( feature = "const_type_id" , since = "1.46.0 " ) ]
810
+ #[ rustc_const_unstable ( feature = "const_type_id" , issue = "63084 " ) ]
811
811
pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
812
812
813
813
/// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
Original file line number Diff line number Diff line change 90
90
#![ feature( const_slice_ptr_len) ]
91
91
#![ feature( const_size_of_val) ]
92
92
#![ feature( const_align_of_val) ]
93
+ #![ feature( const_type_id) ]
93
94
#![ feature( const_type_name) ]
94
95
#![ feature( const_likely) ]
95
96
#![ feature( const_unreachable_unchecked) ]
You can’t perform that action at this time.
0 commit comments