Skip to content

Conversation

brendanzab
Copy link
Contributor

Adds a standardised placeholder for marking unfinished code.

bors added a commit that referenced this pull request Feb 8, 2014
Adds a standardised placeholder for marking unfinished code.
@bors bors closed this Feb 8, 2014
@bors bors merged commit 8192f55 into rust-lang:master Feb 8, 2014
@brendanzab brendanzab deleted the unimplemented branch February 8, 2014 22:08
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
fix: Use pattern recovery set when parsing ident patterns
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 11, 2024
…recursion, r=llogiq

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants