mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 19:26:47 +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.