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