Skip to content

Commit 74d77d0

Browse files
committed
mark ptr-int-transmute test as no_run
1 parent 491f619 commit 74d77d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ extern "rust-intrinsic" {
981981
///
982982
/// Turning a pointer into a `usize`:
983983
///
984-
/// ```
984+
/// ```no_run
985985
/// let ptr = &0;
986986
/// let ptr_num_transmute = unsafe {
987987
/// std::mem::transmute::<&i32, usize>(ptr)

0 commit comments

Comments
 (0)