[PATCH] rust: enable `clippy::ptr_as_ptr` lint