mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
f162d11351
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.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.