Skip to content

Add missing_trait_methods lint #9670

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 20, 2022

Conversation

Alexendoo
Copy link
Member

Closes #9661

changelog: new lint: [missing_trait_methods]

@rust-highfive
Copy link

r? @Jarcho

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 17, 2022
@Jarcho
Copy link
Contributor

Jarcho commented Oct 19, 2022

This probably shouldn't lint impls from external macros. Otherwise LGTM.

@Alexendoo Alexendoo force-pushed the missing-trait-methods branch from 56b8e19 to faa96ed Compare October 20, 2022 10:58
@Alexendoo Alexendoo force-pushed the missing-trait-methods branch from faa96ed to b6a860e Compare October 20, 2022 11:02
@Jarcho
Copy link
Contributor

Jarcho commented Oct 20, 2022

@bors r+ Thank you.

@bors
Copy link
Contributor

bors commented Oct 20, 2022

📌 Commit b6a860e has been approved by Jarcho

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 20, 2022

⌛ Testing commit b6a860e with merge 4612fdf...

@bors
Copy link
Contributor

bors commented Oct 20, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: Jarcho
Pushing 4612fdf to master...

@bors bors merged commit 4612fdf into rust-lang:master Oct 20, 2022
@Alexendoo Alexendoo deleted the missing-trait-methods branch October 20, 2022 15:28
@shepmaster
Copy link
Member

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a lint for unintentional usage of default trait methods
5 participants