rust/compiler/rustc_trait_selection/src/error_reporting
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
..
infer Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
traits transmutability: shift abstraction boundary 2025-06-09 14:08:12 +00:00
mod.rs Swap Vec<PredicateObligation> to type alias 2024-10-12 15:17:08 +01:00