Skip to content

Commit

Permalink
mark ptr-int-transmute test as no_run
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 18, 2022
1 parent 491f619 commit 74d77d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ extern "rust-intrinsic" {
///
/// Turning a pointer into a `usize`:
///
/// ```
/// ```no_run
/// let ptr = &0;
/// let ptr_num_transmute = unsafe {
/// std::mem::transmute::<&i32, usize>(ptr)
Expand Down

0 comments on commit 74d77d0

Please sign in to comment.