about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2021-10-27 17:46:08 -0700
committerEric Holk <ericholk@microsoft.com>2022-01-18 14:25:24 -0800
commitaa029d4bbe78fafbffdebb398a767941459d9d4e (patch)
treebc79cebb3f92c617094b7eb7bb257c7dec13e3c7 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentf246c0b116cdbbad570c23c5745aa01f6f3f64a0 (diff)
downloadrust-aa029d4bbe78fafbffdebb398a767941459d9d4e.tar.gz
rust-aa029d4bbe78fafbffdebb398a767941459d9d4e.zip
Support conditional drops
This adds support for branching and merging control flow and uses this
to correctly handle the case where a value is dropped in one branch of
an if expression but not another.

There are other cases we need to handle, which will come in follow up
patches.

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