rust/compiler/rustc_transmute
Jack Wrenn e9eae28eee transmutability: shift abstraction boundary
Previously, `rustc_transmute`'s layout representations were genericized
over `R`, a reference. Now, it's instead genericized over
representations of type and region. This allows us to move reference
transmutability logic from `rustc_trait_selection` to
`rustc_transmutability` (and thus unit test it independently of the
compiler), and — in a follow-up PR — will make it possible to support
analyzing function pointer transmutability with minimal surgery.
2025-06-09 14:08:12 +00:00
..
src transmutability: shift abstraction boundary 2025-06-09 14:08:12 +00:00
Cargo.toml transmutability: uninit transition matches unit byte only 2025-04-29 20:42:43 +02:00