mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
c85ceeae3f
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