bors 5595d7f5d5 Auto merge of #9750 - kraktus:lazy_eval, r=xFrednet
Fix [`unnecessary_lazy_eval`] when type has significant drop

fix for https://github.com/rust-lang/rust-clippy/issues/9427#issuecomment-1295742590

However current implementation gives too many false positive, rending the lint almost useless.

I don't know what's the best way to check if a type has a "significant" drop (in the common meaning, not the internal rustc one, for example Option<(u8, u8)> should not be considered significant)

changelog: Fix [`unnecessary_lazy_eval`] when type has significant drop
2022-11-22 17:21:23 +00:00
..
2022-11-10 10:09:33 +01:00
2022-10-19 11:34:00 -07:00
2022-10-25 20:30:37 +02:00
2022-10-25 20:30:37 +02:00
2022-10-28 13:18:07 -04:00
2022-11-04 21:09:26 -07:00
2022-10-26 12:24:37 +08:00
2022-10-30 06:47:35 -04:00
2022-10-26 12:24:37 +08:00
2022-10-26 12:24:37 +08:00
2022-10-30 06:47:35 -04:00
2022-11-16 11:39:09 +05:30
2022-10-23 14:06:51 +00:00
2022-11-18 21:51:43 +09:00
2022-11-18 21:51:43 +09:00
2022-10-26 13:41:57 +02:00
2022-10-26 13:41:57 +02:00
2022-10-30 06:47:35 -04:00