Rollup merge of #96174 - RalfJung:no-run-transmute, r=scottmcm

mark ptr-int-transmute test as no_run

This causes [CI failures in Miri](https://github.com/rust-lang/miri-test-libstd/runs/6062500259?check_suite_focus=true) since ptr-int-transmutes are rejected there (when strict provenance is enabled).
This commit is contained in:
Michael Goulet 2022-05-05 19:34:22 -07:00 committed by GitHub
commit 87ad928c15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)