rust/compiler/rustc_trait_selection
Matthias Krüger bdf7b74517
Rollup merge of #142040 - jswrenn:transmute-ty-region-generic, r=compiler-errors
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.

r? `@compiler-errors`
2025-06-12 03:14:49 +02:00
..
src Rollup merge of #142040 - jswrenn:transmute-ty-region-generic, r=compiler-errors 2025-06-12 03:14:49 +02:00
Cargo.toml support duplicates in the opaque_types_storage 2025-05-06 14:59:09 +00:00
messages.ftl Add iter macro 2025-06-03 10:52:32 -07:00