diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-06-12 01:22:31 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-06-19 10:44:01 -0700 |
| commit | 4630d1b23b996793e9188490cc99b1576176233f (patch) | |
| tree | c85cd43e06356526290a8555193b4a75efe4f82d /compiler/rustc_codegen_cranelift/src/base.rs | |
| parent | 894f7a4ba6554d3797404bbf550d9919df060b97 (diff) | |
| download | rust-4630d1b23b996793e9188490cc99b1576176233f.tar.gz rust-4630d1b23b996793e9188490cc99b1576176233f.zip | |
Ban `ArrayToPointer` and `MutToConstPointer` from runtime MIR
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.)
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/base.rs')
0 files changed, 0 insertions, 0 deletions
