mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
4630d1b23b
Apparently MIR borrowck cares about at least one of these for checking variance. In runtime MIR, though, there's no need for them as `PtrToPtr` does the same thing. (Banning them simplifies passes like GVN that no longer need to handle multiple cast possibilities.)