rust/tests/ui/stable-mir-print
bors b57d93d8b9 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
2024-12-14 22:43:39 +00:00
..
async-closure.rs Encode coroutine-closures in SMIR 2024-12-14 03:45:35 +00:00
async-closure.stdout Encode coroutine-closures in SMIR 2024-12-14 03:45:35 +00:00
basic_function.rs Add needs-unwind annotations to a couple of tests 2024-03-25 14:19:07 +00:00
basic_function.stdout Set up false edges in lower_match_tree 2024-07-29 09:50:07 +02:00
operands.rs [StableMIR] A few fixes to pretty printing 2024-11-07 16:16:38 -08:00
operands.stdout Bounds-check with PtrMetadata instead of Len in MIR 2024-12-03 11:05:45 -08:00