mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-14 14:33:14 +00:00
interpret: fix overlapping aggregate initialization This fixes the problem pointed out by ````@saethlin```` in https://github.com/rust-lang/rust/issues/146383#issuecomment-3273224645. Also clarify when exactly current de-facto MIR semantics allow overlap of the LHS and RHS in an assignment.
For more information about how rustc works, see the rustc dev guide.