mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
3a983ad3b0
Migrate memory overlap check from validator to lint The check attempts to identify potential undefined behaviour, rather than whether MIR is well-formed. It belongs in the lint not validator. Follow up to changes from #119077.