diff options
| author | oxalica <oxalicc@pm.me> | 2023-05-06 21:21:00 +0800 |
|---|---|---|
| committer | oxalica <oxalicc@pm.me> | 2023-05-06 21:21:00 +0800 |
| commit | 4e4940e21ee2bdcdeb084e6d2ed675cdac746dfe (patch) | |
| tree | 71f2a0a716b1292d3a1ce812c7b7695b7163dd5d /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff | |
| parent | 300f3a1b43d13b08b2dcd01bdfb992456e3cc012 (diff) | |
| download | rust-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
