about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorStéphane Campinas <stephane.campinas@gmail.com>2020-12-07 13:08:45 +0100
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2020-12-20 12:05:05 -0600
commitc536d80dc1c7c70c870ba5ec9d73943cd8e9e3f6 (patch)
treea72317b2cfc7ea810bbb22994c1e8971b70337f3 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent4cfb9ef8f4436cb1150022897f900c461c9f581c (diff)
downloadrust-c536d80dc1c7c70c870ba5ec9d73943cd8e9e3f6.tar.gz
rust-c536d80dc1c7c70c870ba5ec9d73943cd8e9e3f6.zip
Fix rewrite of closures with a return type
If the closure's body fits in a line, the block is removed but it is
necessary if the closure has a return type.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions