rust-clippy/clippy_utils
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
..
src Auto merge of #9750 - kraktus:lazy_eval, r=xFrednet 2022-11-22 17:21:23 +00:00
Cargo.toml Bump Clippy version -> 0.1.67 2022-11-21 20:02:06 +01:00