about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.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
commit949b25981cdaf2c7708ee257651f1cb9dc951332 (patch)
tree3b68321f7012e75ca2c9bcb0b1b2d364f045bf4c /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parent98416d7f6ca4cc803d423e0897ccdf1deb08fe31 (diff)
downloadrust-949b25981cdaf2c7708ee257651f1cb9dc951332.tar.gz
rust-949b25981cdaf2c7708ee257651f1cb9dc951332.zip
Change `Bound` to `EndBound`
Only the end bounds of ranges can actually be included or excluded. This
commit changes the SpannedRange type to reflect that. Update `Kind::value`
to and `Kind::cmp` for this change. `Kind::cmp` gets flipped to check value
first and then the bound details and is much shorter.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions