update tracking issue for const_type_id · rust-lang/rust@0e2db57 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 0e2db57

update tracking issue for const_type_id

File tree

2 files changed

lines changed

2 files changed

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_unstable(feature = "const_type_id", issue = "63084")]
438 +#[rustc_const_unstable(feature = "const_type_id", issue = "77125")]
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_unstable(feature = "const_type_id", issue = "63084")]
810 + #[rustc_const_unstable(feature = "const_type_id", issue = "77125")]
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: