update tracking issue for const_type_id
This commit is contained in:
parent
9b2c8d866e
commit
0e2db57754
2 changed files with 2 additions and 2 deletions
|
@ -435,7 +435,7 @@ impl TypeId {
|
|||
/// assert_eq!(is_string(&"cookie monster".to_string()), true);
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_type_id", issue = "63084")]
|
||||
#[rustc_const_unstable(feature = "const_type_id", issue = "77125")]
|
||||
pub const fn of<T: ?Sized + 'static>() -> TypeId {
|
||||
TypeId { t: intrinsics::type_id::<T>() }
|
||||
}
|
||||
|
|
|
@ -807,7 +807,7 @@ extern "rust-intrinsic" {
|
|||
/// crate it is invoked in.
|
||||
///
|
||||
/// The stabilized version of this intrinsic is [`crate::any::TypeId::of`].
|
||||
#[rustc_const_unstable(feature = "const_type_id", issue = "63084")]
|
||||
#[rustc_const_unstable(feature = "const_type_id", issue = "77125")]
|
||||
pub fn type_id<T: ?Sized + 'static>() -> u64;
|
||||
|
||||
/// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
|
||||
|
|
Loading…
Reference in a new issue