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:
authorbors <bors@rust-lang.org>2023-06-22 12:35:22 +0000
committerbors <bors@rust-lang.org>2023-06-22 12:35:22 +0000
commit6c73f679989cb4d2c500428d0609cf1ea9ec6a26 (patch)
tree7de9131ffeb58a11590b84af311010c6aea94e56 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff
parentf0e00ed599e453afd9d71f793e6a0c0dd68dad47 (diff)
parent410ede9101cce1eadebf524892b36a0c51be614e (diff)
downloadrust-6c73f679989cb4d2c500428d0609cf1ea9ec6a26.tar.gz
rust-6c73f679989cb4d2c500428d0609cf1ea9ec6a26.zip
Auto merge of #15105 - dfireBird:fix-15096, r=HKalbasi
Change comparsion for checking if number is negative to include 128

The last byte in Little-Endian representation of negative integers start at 128 (Ox80) till 255 (OxFF). The comparison before the fix didn't check for 128 which made is_negative variable as false.

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