mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
5595d7f5d5
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |