11
11
//! In order to make an intrinsic usable at compile-time, one needs to copy the implementation
12
12
//! from https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics.rs to
13
13
//! `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.
15
15
//!
16
16
//! If an intrinsic is supposed to be used from a `const fn` with a `rustc_const_stable` attribute,
17
17
//! the intrinsic's attribute must be `rustc_const_stable`, too. Such a change should not be done
@@ -1012,7 +1012,7 @@ extern "rust-intrinsic" {
1012
1012
///
1013
1013
/// The stabilized version of this intrinsic is
1014
1014
/// [`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 " ) ]
1016
1016
pub fn type_name < T : ?Sized > ( ) -> & ' static str ;
1017
1017
1018
1018
/// Gets an identifier which is globally unique to the specified type. This
@@ -1021,7 +1021,7 @@ extern "rust-intrinsic" {
1021
1021
///
1022
1022
/// The stabilized version of this intrinsic is
1023
1023
/// [`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 " ) ]
1025
1025
pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
1026
1026
1027
1027
/// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
@@ -1931,7 +1931,7 @@ extern "rust-intrinsic" {
1931
1931
pub fn nontemporal_store < T > ( ptr : * mut T , val : T ) ;
1932
1932
1933
1933
/// 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 " ) ]
1935
1935
pub fn ptr_offset_from < T > ( ptr : * const T , base : * const T ) -> isize ;
1936
1936
1937
1937
/// Internal hook used by Miri to implement unwinding.
0 commit comments