diff options
| author | Stéphane Campinas <stephane.campinas@gmail.com> | 2020-12-07 13:08:45 +0100 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2020-12-20 12:05:05 -0600 |
| commit | c536d80dc1c7c70c870ba5ec9d73943cd8e9e3f6 (patch) | |
| tree | a72317b2cfc7ea810bbb22994c1e8971b70337f3 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 4cfb9ef8f4436cb1150022897f900c461c9f581c (diff) | |
| download | rust-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
