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[bot] <bors[bot]@users.noreply.github.com>2018-10-26 10:36:43 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-10-26 10:36:43 +0000
commit457e7f12e9fc028eae182f23b279194e5344b676 (patch)
tree31d78473abb474a676b95b7726125ce465dbc9bc /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent5e1c7366005636897810709b883124cf2fb43f0c (diff)
parent9034b87a539904c96c01ece3c43878ce25887214 (diff)
downloadrust-457e7f12e9fc028eae182f23b279194e5344b676.tar.gz
rust-457e7f12e9fc028eae182f23b279194e5344b676.zip
Merge #3355
3355: Lint to remove redundant `clone()`s r=oli-obk a=sinkuu

This PR adds lint `redundant_clone`. It suggests to remove redundant `clone()` that clones a owned value that will be dropped without any usage after that.

Real-world example: https://github.com/rust-lang/rust/compare/7b0735a..sinkuu:redundant_clone2

Co-authored-by: Shotaro Yamada <sinkuu@sinkuu.xyz>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions