mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
a0fd17d3f0
Add new lint `ptr_cast_constness` This adds a new lint which functions as the opposite side of the coin to `ptr_as_ptr`. Rather than linting only as casts that don't change constness, this lints only constness; suggesting to use `pointer::cast_const` or `pointer::cast_mut` instead. changelog: new lint [`ptr_cast_constness`] |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |