diff options
| author | bors <bors@rust-lang.org> | 2023-06-08 19:38:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-08 19:38:12 +0000 |
| commit | 384cf376120f09df7710d2ff39c986144a7b1517 (patch) | |
| tree | 7669c2af58c7a8e02486e6f937a5f6260ece5393 /compiler/rustc_mir_transform/src | |
| parent | e2c655b4c07c912ef749be316aeea8453cb9d840 (diff) | |
| parent | 4346c992cb555b79b68265535f5720033f2bdca7 (diff) | |
| download | rust-384cf376120f09df7710d2ff39c986144a7b1517.tar.gz rust-384cf376120f09df7710d2ff39c986144a7b1517.zip | |
Auto merge of #10910 - Alexendoo:unnecessary-pointer-casts, r=llogiq
Ignore more pointer types in `unnecessary_cast` Spotted this because https://github.com/rust-lang/rust-clippy/blob/e2c655b4c07c912ef749be316aeea8453cb9d840/tests/ui/suspicious_to_owned.rs#L9-L10 currently fails on `aarch64-unknown-linux-gnu` as `c_char` is `u8` there The current implementation checks for `as alias`, `as _`. This adds things like - `as *const alias` - `as *const cfg_dependant` - `as *const _` changelog: none
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
