Clippy::not_unsafe_ptr_arg_deref troubles
⚓ Rust 📅 2025-08-26 👤 surdeus 👁️ 12Should this lint trigger even if the access is checked e.g with ptr.as_ref/as_mut? The lint describes that it is to ensure unchecked access is not done ever, but does using as_ref/as_mut on pointers not count as checked access?
This arises a lot when implementing COM classes using the windows crate which is annoying.
3 posts - 2 participants
🏷️ Rust_feed