On Tue, Mar 25, 2025 at 1:17 PM Tamir Duberstein tamird@gmail.com wrote:
On Tue, Mar 25, 2025 at 11:33 AM Benno Lossin benno.lossin@proton.me wrote:
Here is another lint that we probably want to enable (after the `&raw {const,mut}` series lands): `clippy::borrow_as_ptr`.
This sounds like a good one to file.
Actually I just enabled this and it has no incremental effect relative to the lints already enabled in the series. We can enable it now, but it seems to only trigger on patterns already caught by `ref_as_ptr`.