about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorAyush Singh <ayushsingh1325@gmail.com>2022-11-06 14:01:46 +0530
committerAntoni Boucher <bouanto@zoho.com>2023-02-28 19:22:26 -0500
commita8978641504ba90aaaa41b2acb72578ea7bb328c (patch)
tree27381f3b5fa37612a8c5b72204da2a06d58577fe /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parentdd930a3b5cff68646f1fd4eff7256a9a25302ceb (diff)
downloadrust-a8978641504ba90aaaa41b2acb72578ea7bb328c.tar.gz
rust-a8978641504ba90aaaa41b2acb72578ea7bb328c.zip
Add type_array to BaseTypeMethods
Moved type_array function to rustc_codegen_ssa::BaseTypeMethods trait.
This allows using normal alloca function to create arrays as suggested in
https://github.com/rust-lang/rust/pull/104022.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions