diff options
| author | bors <bors@rust-lang.org> | 2023-05-23 21:40:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-23 21:40:50 +0000 |
| commit | a0fd17d3f0f97f03834e971137b8be75d0a57641 (patch) | |
| tree | eada6a95bd3f4558bd125b9e8eca8b9acb4d2cab /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 97598e9e8ffb2e5e211ae5ce9cf1fc96f643710a (diff) | |
| parent | 97467e4aa39d20273014195bb7362d6bace047ea (diff) | |
| download | rust-a0fd17d3f0f97f03834e971137b8be75d0a57641.tar.gz rust-a0fd17d3f0f97f03834e971137b8be75d0a57641.zip | |
Auto merge of #10779 - Centri3:ptr_cast_constness, r=llogiq
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`]
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
