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:
authorbors <bors@rust-lang.org>2023-04-10 19:43:51 +0000
committerbors <bors@rust-lang.org>2023-04-10 19:43:51 +0000
commit44cf8ef49ad3db5e82f18a89b20e925353389121 (patch)
tree439783fc580c779b5a503ed63125046f9d717b4f /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent51d5862caf428c9e160ccf28d684f0a33faccd7d (diff)
parent59b6f2d9f2fe40b0176b64bf295562d0beaabc3e (diff)
downloadrust-44cf8ef49ad3db5e82f18a89b20e925353389121.tar.gz
rust-44cf8ef49ad3db5e82f18a89b20e925353389121.zip
Auto merge of #14470 - HKalbasi:mir, r=HKalbasi
Compute closure captures

This PR:
* Computes closure captures and the trait it implements (Fn, FnMut or FnOnce)
* Computes data layout of closures
* Adds support for closure MIR lowering
* Changes the closure type display from `|arg1: ty1, arg2: ty| -> ret` to `impl FnX(arg1: ty1, arg2: ty2) -> ret`

fix #12297
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions