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:
authorMichael Wright <mikerite@lavabit.com>2021-11-09 05:44:02 +0200
committerMichael Wright <mikerite@lavabit.com>2021-11-09 05:44:02 +0200
commit98416d7f6ca4cc803d423e0897ccdf1deb08fe31 (patch)
treeb513de9a320a044e888922321c1bca8c4784be08 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent830f2205d4002b26f7fd36d8467fb491eb2306ac (diff)
downloadrust-98416d7f6ca4cc803d423e0897ccdf1deb08fe31.tar.gz
rust-98416d7f6ca4cc803d423e0897ccdf1deb08fe31.zip
Remove `unimplemented!()` case in matches code
This unbounded case never actually happens because `all_ranges(..)` uses
the scrutinee type bounds for open ranges. Switch to our own `Bound`
enum so that we don't have this case.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions