about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-25 08:31:20 +0000
committerbors <bors@rust-lang.org>2021-08-25 08:31:20 +0000
commit305177342fbc622c0b3cb148467bab4b9524c934 (patch)
treed2dc931e2907059cdd5d85ed081176a58de5b5b6 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent87c6f3275695213ab60dbc2fd7c1fe139ac1b840 (diff)
parentede977cf3131caeaac71e36c32390ca3c5b4deda (diff)
downloadrust-305177342fbc622c0b3cb148467bab4b9524c934.tar.gz
rust-305177342fbc622c0b3cb148467bab4b9524c934.zip
Auto merge of #7453 - F3real:assume_function_calls_have_side_effect, r=flip1995
Don't report function calls as unnecessary operation if used in array index

Attempts to fix: #7412

changelog: Don't report function calls used in indexing as unnecessary operation. [`unnecessary_operation`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions