mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
8507e4c80e
Extend `unconditional_recursion` lint to check for `Default` trait implementation In case the `Default` trait is implemented manually and is calling a static method (let's call it `a`) and then `a` is using `Self::default()`, it makes an infinite call recursion difficult to see without debugging. This extension checks that there is no such recursion possible. r? `@llogiq` changelog: Extend `unconditional_recursion` lint to check for `Default` trait implementation |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |