mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-26 20:57:14 +00:00
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.