about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-12 03:14:49 +0200
committerGitHub <noreply@github.com>2025-06-12 03:14:49 +0200
commitbdf7b74517c9fec8009062e92ef08158635946f7 (patch)
treec2344d86896c820f42483a84ab36ac4ef0f8bf05 /compiler/rustc_codegen_llvm/src
parent9f6e81c202424bb43f0eb45e137902b1f55c6f62 (diff)
parente9eae28eee0a99c64e81f4fdf87d3c76241e56bd (diff)
downloadrust-bdf7b74517c9fec8009062e92ef08158635946f7.tar.gz
rust-bdf7b74517c9fec8009062e92ef08158635946f7.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions