1111//! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
1212//! from https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs to
1313//! `librustc_mir/interpret/intrinsics.rs` and add a
14- //! `#[rustc_const_unstable(feature = "foo ", issue = "01234")]` to the intrinsic.
14+ //! `#[rustc_const_unstable(feature = "foo2 ", issue = "01234")]` to the intrinsic.
1515//!
1616//! If an intrinsic is supposed to be used from a `const fn` with a `rustc_const_stable` attribute,
1717//! the intrinsic's attribute must be `rustc_const_stable`, too. Such a change should not be done
@@ -1012,7 +1012,7 @@ extern "rust-intrinsic" {
10121012 ///
10131013 /// The stabilized version of this intrinsic is
10141014 /// [`std::any::type_name`](../../std/any/fn.type_name.html)
1015- #[ rustc_const_unstable( feature = "const_type_name" , issue = "none " ) ]
1015+ #[ rustc_const_unstable( feature = "const_type_name" , issue = "63084 " ) ]
10161016 pub fn type_name < T : ?Sized > ( ) -> & ' static str ;
10171017
10181018 /// Gets an identifier which is globally unique to the specified type. This
@@ -1021,7 +1021,7 @@ extern "rust-intrinsic" {
10211021 ///
10221022 /// The stabilized version of this intrinsic is
10231023 /// [`std::any::TypeId::of`](../../std/any/struct.TypeId.html#method.of)
1024- #[ rustc_const_unstable( feature = "const_type_id" , issue = "none " ) ]
1024+ #[ rustc_const_unstable( feature = "const_type_id" , issue = "41875 " ) ]
10251025 pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
10261026
10271027 /// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
@@ -1931,7 +1931,7 @@ extern "rust-intrinsic" {
19311931 pub fn nontemporal_store < T > ( ptr : * mut T , val : T ) ;
19321932
19331933 /// See documentation of `<*const T>::offset_from` for details.
1934- #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "none " ) ]
1934+ #[ rustc_const_unstable( feature = "const_ptr_offset_from" , issue = "41079 " ) ]
19351935 pub fn ptr_offset_from < T > ( ptr : * const T , base : * const T ) -> isize ;
19361936
19371937 /// Internal hook used by Miri to implement unwinding.
0 commit comments