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
committerAyush Singh <ayushsingh1325@gmail.com>2022-11-06 14:18:36 +0530
commit87237cb69935730623917aa4674901270b938c26 (patch)
treef1e2846e035a679fe86d7d876c28eef2cc42623a /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent5a1c8e8e5c8b8a7e0a0d1a576be425226725d59b (diff)
downloadrust-87237cb69935730623917aa4674901270b938c26.tar.gz
rust-87237cb69935730623917aa4674901270b938c26.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