diff options
| author | bors <bors@rust-lang.org> | 2024-12-14 22:43:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-12-14 22:43:39 +0000 |
| commit | b57d93d8b9525fa261404b4cd9c0670eeb1264b8 (patch) | |
| tree | 345f1a2df55dac901b681e1ae49e3d11f685e5f8 /compiler/rustc_trait_selection | |
| parent | 0aeaa5eb22180fdf12a8489e63c4daa18da6f236 (diff) | |
| parent | d2a98f76389ccfa8fe0bacd5ac2058204d087504 (diff) | |
| download | rust-b57d93d8b9525fa261404b4cd9c0670eeb1264b8.tar.gz rust-b57d93d8b9525fa261404b4cd9c0670eeb1264b8.zip | |
Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung
Bounds-check with PtrMetadata instead of Len in MIR Rather than emitting `Len(*_n)` in array index bounds checks, emit `PtrMetadata(copy _n)` instead -- with some asterisks for arrays and `&mut` that need it to be done slightly differently. We're getting pretty close to removing `Len` entirely, actually. I think just one more PR after this (for slice drop shims). r? mir
Diffstat (limited to 'compiler/rustc_trait_selection')
0 files changed, 0 insertions, 0 deletions
