mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 22:50:38 +00:00
transmute: caution against int2ptr transmutation This came up in https://github.com/rust-lang/rust/pull/121282. Cc ```@saethlin``` ```@scottmcm``` Eventually we'll add a proper description of provenance that we can reference, but that's a bunch of work and it's unclear who will have the time to do that when. Meanwhile, let's at least do what we can without mentioning provenance explicitly.