about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-02 17:23:56 +0000
committerbors <bors@rust-lang.org>2023-06-02 17:23:56 +0000
commitc85ceeae3f1b61de9334b3abe427fa8312723239 (patch)
treede8286a7f2895e7c0b1d074bd9cd635c85de5d18 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff
parent00001d6e0835c07985cd1ffac8e3e231588fcfcc (diff)
parentd7a98f507a7b15c9298c2c7a3056340377008544 (diff)
downloadrust-c85ceeae3f1b61de9334b3abe427fa8312723239.tar.gz
rust-c85ceeae3f1b61de9334b3abe427fa8312723239.zip
Auto merge of #10821 - Centri3:unnecessary_operation_cast_underscore, r=dswij
Emit `unnecessary_cast` on raw pointers as well

Supersedes(?) #10782, since this and #10567 will cover the original issue.
Does not lint on type aliases or inferred types.

changelog: [`unnecessary_cast`]: Also emit on casts between raw pointers with the same type and constness
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions