summary refs log tree commit diff
path: root/compiler/rustc_transmute/src/layout/tree
AgeCommit message (Collapse)AuthorLines
2024-09-03Add `warn(unreachable_pub)` to `rustc_transmute`.Nicholas Nethercote-1/+1
2024-02-27safe transmute: revise safety analysisJack Wrenn-22/+47
Migrate to a simplified safety analysis that does not use visibility. Closes https://github.com/rust-lang/project-safe-transmute/issues/15
2022-07-27Initial (incomplete) implementation of transmutability trait.Jack Wrenn-0/+80
This initial implementation handles transmutations between types with specified layouts, except when references are involved. Co-authored-by: Igor null <m1el.2027@gmail.com>