File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ impl TypeId {
435435 /// assert_eq!(is_string(&"cookie monster".to_string()), true);
436436 /// ```
437437 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
438- #[ rustc_const_stable( feature = "const_type_id" , since = "1.45 .0" ) ]
438+ #[ rustc_const_stable( feature = "const_type_id" , since = "1.46 .0" ) ]
439439 pub const fn of < T : ?Sized + ' static > ( ) -> TypeId {
440440 TypeId { t : intrinsics:: type_id :: < T > ( ) }
441441 }
Original file line number Diff line number Diff line change @@ -1024,7 +1024,7 @@ extern "rust-intrinsic" {
10241024 ///
10251025 /// The stabilized version of this intrinsic is
10261026 /// [`std::any::TypeId::of`](../../std/any/struct.TypeId.html#method.of)
1027- #[ rustc_const_stable( feature = "const_type_id" , since = "1.45 .0" ) ]
1027+ #[ rustc_const_stable( feature = "const_type_id" , since = "1.46 .0" ) ]
10281028 pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
10291029
10301030 /// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
You can’t perform that action at this time.
0 commit comments