@@ -719,7 +719,7 @@ extern "rust-intrinsic" {
719
719
/// macro, which panics when it is executed, it is *undefined behavior* to
720
720
/// reach code marked with this function.
721
721
///
722
- /// The stabilized version of this intrinsic is [`crate ::hint::unreachable_unchecked`].
722
+ /// The stabilized version of this intrinsic is [`core ::hint::unreachable_unchecked`](crate::hint::unreachable_unchecked) .
723
723
#[ rustc_const_unstable( feature = "const_unreachable_unchecked" , issue = "53188" ) ]
724
724
pub fn unreachable ( ) -> !;
725
725
@@ -764,20 +764,20 @@ extern "rust-intrinsic" {
764
764
/// More specifically, this is the offset in bytes between successive
765
765
/// items of the same type, including alignment padding.
766
766
///
767
- /// The stabilized version of this intrinsic is [`crate ::mem::size_of`].
767
+ /// The stabilized version of this intrinsic is [`core ::mem::size_of`](crate::mem::size_of) .
768
768
#[ rustc_const_stable( feature = "const_size_of" , since = "1.40.0" ) ]
769
769
pub fn size_of < T > ( ) -> usize ;
770
770
771
771
/// Moves a value to an uninitialized memory location.
772
772
///
773
773
/// Drop glue is not run on the destination.
774
774
///
775
- /// The stabilized version of this intrinsic is [`crate ::ptr::write`].
775
+ /// The stabilized version of this intrinsic is [`core ::ptr::write`](crate::ptr::write) .
776
776
pub fn move_val_init < T > ( dst : * mut T , src : T ) ;
777
777
778
778
/// The minimum alignment of a type.
779
779
///
780
- /// The stabilized version of this intrinsic is [`crate ::mem::align_of`].
780
+ /// The stabilized version of this intrinsic is [`core ::mem::align_of`](crate::mem::align_of) .
781
781
#[ rustc_const_stable( feature = "const_min_align_of" , since = "1.40.0" ) ]
782
782
pub fn min_align_of < T > ( ) -> usize ;
783
783
/// The preferred alignment of a type.
@@ -793,21 +793,21 @@ extern "rust-intrinsic" {
793
793
pub fn size_of_val < T : ?Sized > ( _: * const T ) -> usize ;
794
794
/// The required alignment of the referenced value.
795
795
///
796
- /// The stabilized version of this intrinsic is [`crate ::mem::align_of_val`].
796
+ /// The stabilized version of this intrinsic is [`core ::mem::align_of_val`](crate::mem::align_of_val) .
797
797
#[ rustc_const_unstable( feature = "const_align_of_val" , issue = "46571" ) ]
798
798
pub fn min_align_of_val < T : ?Sized > ( _: * const T ) -> usize ;
799
799
800
800
/// Gets a static string slice containing the name of a type.
801
801
///
802
- /// The stabilized version of this intrinsic is [`crate ::any::type_name`].
802
+ /// The stabilized version of this intrinsic is [`core ::any::type_name`](crate::any::type_name) .
803
803
#[ rustc_const_unstable( feature = "const_type_name" , issue = "63084" ) ]
804
804
pub fn type_name < T : ?Sized > ( ) -> & ' static str ;
805
805
806
806
/// Gets an identifier which is globally unique to the specified type. This
807
807
/// function will return the same value for a type regardless of whichever
808
808
/// crate it is invoked in.
809
809
///
810
- /// The stabilized version of this intrinsic is [`crate ::any::TypeId::of`].
810
+ /// The stabilized version of this intrinsic is [`core ::any::TypeId::of`](crate::any::TypeId::of) .
811
811
#[ rustc_const_unstable( feature = "const_type_id" , issue = "77125" ) ]
812
812
pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
813
813
@@ -831,7 +831,7 @@ extern "rust-intrinsic" {
831
831
832
832
/// Gets a reference to a static `Location` indicating where it was called.
833
833
///
834
- /// Consider using [`crate ::panic::Location::caller`] instead.
834
+ /// Consider using [`core ::panic::Location::caller`](crate::panic::Location::caller) instead.
835
835
#[ rustc_const_unstable( feature = "const_caller_location" , issue = "76156" ) ]
836
836
pub fn caller_location ( ) -> & ' static crate :: panic:: Location < ' static > ;
837
837
@@ -1152,11 +1152,11 @@ extern "rust-intrinsic" {
1152
1152
1153
1153
/// Performs a volatile load from the `src` pointer.
1154
1154
///
1155
- /// The stabilized version of this intrinsic is [`crate ::ptr::read_volatile`].
1155
+ /// The stabilized version of this intrinsic is [`core ::ptr::read_volatile`](crate::ptr::read_volatile) .
1156
1156
pub fn volatile_load < T > ( src : * const T ) -> T ;
1157
1157
/// Performs a volatile store to the `dst` pointer.
1158
1158
///
1159
- /// The stabilized version of this intrinsic is [`crate ::ptr::write_volatile`].
1159
+ /// The stabilized version of this intrinsic is [`core ::ptr::write_volatile`](crate::ptr::write_volatile) .
1160
1160
pub fn volatile_store < T > ( dst : * mut T , val : T ) ;
1161
1161
1162
1162
/// Performs a volatile load from the `src` pointer
@@ -1697,7 +1697,7 @@ extern "rust-intrinsic" {
1697
1697
/// Returns the value of the discriminant for the variant in 'v',
1698
1698
/// cast to a `u64`; if `T` has no discriminant, returns 0.
1699
1699
///
1700
- /// The stabilized version of this intrinsic is [`crate ::mem::discriminant`].
1700
+ /// The stabilized version of this intrinsic is [`core ::mem::discriminant`](crate::mem::discriminant) .
1701
1701
#[ rustc_const_unstable( feature = "const_discriminant" , issue = "69821" ) ]
1702
1702
pub fn discriminant_value < T > ( v : & T ) -> <T as DiscriminantKind >:: Discriminant ;
1703
1703
0 commit comments