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.
Cheers, Miguel