about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authoroxalica <oxalicc@pm.me>2023-05-06 21:21:00 +0800
committeroxalica <oxalicc@pm.me>2023-05-06 21:21:00 +0800
commit4e4940e21ee2bdcdeb084e6d2ed675cdac746dfe (patch)
tree71f2a0a716b1292d3a1ce812c7b7695b7163dd5d /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parent300f3a1b43d13b08b2dcd01bdfb992456e3cc012 (diff)
downloadrust-4e4940e21ee2bdcdeb084e6d2ed675cdac746dfe.tar.gz
rust-4e4940e21ee2bdcdeb084e6d2ed675cdac746dfe.zip
Add `Arena::alloc_many` to easily get `IdxRange`
There are no currently ways to get `IdxRange` without manually offseting
`Idx`. Providing a method for multiple-allocation simplifies this
process and makes it less error-prone.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions