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
..
2024-12-13 00:04:56 +00:00
2024-11-19 18:06:20 +01:00
2024-11-26 10:45:21 +00:00
2024-09-24 14:25:16 -07:00
2024-11-26 10:45:21 +00:00
2024-11-25 20:19:08 +01:00
2024-12-02 13:38:18 +01:00
2024-12-10 01:29:43 -08:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-23 13:52:57 +01:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-19 18:06:20 +01:00
2024-11-26 10:45:21 +00:00