diff options
| author | Michael Wright <mikerite@lavabit.com> | 2021-11-09 05:44:02 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2021-11-09 05:44:02 +0200 |
| commit | 949b25981cdaf2c7708ee257651f1cb9dc951332 (patch) | |
| tree | 3b68321f7012e75ca2c9bcb0b1b2d364f045bf4c /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 98416d7f6ca4cc803d423e0897ccdf1deb08fe31 (diff) | |
| download | rust-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_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
