mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
mark ptr-int-transmute test as no_run
This commit is contained in:
parent
491f619f56
commit
74d77d058b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user