Skip to content

Add unimplemented! macro #12090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 8, 2014
Merged

Add unimplemented! macro #12090

merged 3 commits into from
Feb 8, 2014

Conversation

brendanzab
Copy link
Member

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