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>2022-05-25 01:35:55 +0000
committerbors <bors@rust-lang.org>2022-05-25 01:35:55 +0000
commit3cc50a4a0816efd4e1964025e7abdeba3a661275 (patch)
tree16c31c0dcc35d3ce530bc20bfd6b917b6124d4bd /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parentb97784fd07b1981292703fb136cf6e4f7cddc113 (diff)
parentd0f93c12a2a6f0d693507ff6325fed62720e616b (diff)
downloadrust-3cc50a4a0816efd4e1964025e7abdeba3a661275.tar.gz
rust-3cc50a4a0816efd4e1964025e7abdeba3a661275.zip
Auto merge of #8882 - kyoto7250:get_first, r=llogiq
feat(lint): impl lint about use first() instead of get(0)

close #8851

This PR adds new lint about considering replacing .get(0) with .first().

Thank you in advance.

changelog: adds new lint [`get_first`] to consider replacing .get(0) with .first()
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions