File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -870,12 +870,16 @@ extern "rust-intrinsic" {
870
870
pub fn min_align_of_val < T : ?Sized > ( _: & T ) -> usize ;
871
871
872
872
/// Gets a static string slice containing the name of a type.
873
+ /// The stabilized version of this intrinsic is
874
+ /// [`std::any::type_name`](../../std/any/fn.type_name.html)
873
875
#[ rustc_const_unstable( feature = "const_type_name" , issue = "none" ) ]
874
876
pub fn type_name < T : ?Sized > ( ) -> & ' static str ;
875
877
876
878
/// Gets an identifier which is globally unique to the specified type. This
877
879
/// function will return the same value for a type regardless of whichever
878
880
/// crate it is invoked in.
881
+ /// The stabilized version of this intrinsic is
882
+ /// [`std::any::TypeId::of`](../../std/any/struct.TypeId.html#method.of)
879
883
#[ rustc_const_unstable( feature = "const_type_id" , issue = "none" ) ]
880
884
pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
881
885
You can’t perform that action at this time.
0 commit comments