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:
authorGuillem Nieto <gnieto.talo@gmail.com>2018-11-18 23:45:53 +0100
committerGuillem Nieto <gnieto@scopely.com>2018-11-25 14:34:23 -0800
commit5fa04bc3cdb3071dddbfd9cf9cf33bc099b182f0 (patch)
tree1d4db3c87ed8c836bb1e96d636599a0b193f221c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent39b02fdcd26adc95540e96c82b93beb926b6606f (diff)
downloadrust-5fa04bc3cdb3071dddbfd9cf9cf33bc099b182f0.tar.gz
rust-5fa04bc3cdb3071dddbfd9cf9cf33bc099b182f0.zip
Lint only the first statment/expression after alloc
Instead of searching for all the successive expressions after a vector
allocation, check only the first expression.

This is done to minimize the amount of false positives of the lint.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions