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-09-27 14:09:25 +0000
committerbors <bors@rust-lang.org>2022-09-27 14:09:25 +0000
commitd31db02e477b642b0caf3057d034663d306fa733 (patch)
tree85326fb7cec41f763a508fed0970c8285a91a6f8 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parentc153bd62377f3c563b9f6e9d6ba7742523c45209 (diff)
parent4c5f23082aff7c55d32de9869c0c40df94eeae37 (diff)
downloadrust-d31db02e477b642b0caf3057d034663d306fa733.tar.gz
rust-d31db02e477b642b0caf3057d034663d306fa733.zip
Auto merge of #9507 - c410-f3r:arith, r=Alexendoo
[arithmetic-side-effects] Consider references

Takes into consideration integer references like `&i32::MAX` because currently things like `let _ = &1 + 0` trigger the lint.

changelog: FP: [`arithmetic_side_effects`]: Now ignores references
  [9507](https://github.com/rust-lang/rust-clippy/pull/9507)
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions