On Sat, 28 Jun 2025 14:51:15 +0200 Miguel Ojeda miguel.ojeda.sandonis@gmail.com wrote:
On Sat, Jun 28, 2025 at 2:42 PM Onur work@onurozkan.dev wrote:
Yes, I am sure. Just to clarify, I am not testing 5e7c9b84ad08. I am testing c6af9a1191d042839e56abff69e8b0302d117988 where `#[allow(clippy::non_send_fields_in_send_ty)]` was added on `unsafe impl<T: Driver> Send for Registration<T> {}`.
Switching from `allow` to `expect` produced the following result on my end:
Yes, of course it does -- what I am telling you (and what 5e7c9b84ad08 says) is that the lint is disabled.
And since it is disabled, if you change the line to `expect`, then it will obviously complain.
If you actually enabled the lint with e.g.
#![warn(clippy::non_send_fields_in_send_ty)]
at the top of the file, and then used `expect`, it will build fine.
Aha, I see. I missed that. I guess `allow` was added when the author had this lint enabled on their checkout, but their work was merged when lint removal was merged before that.
Do you want me to update the patch description by including 5e7c9b84ad08 ref and send v4?
Sorry for misunderstanding by the way!
Many thanks, Onur