Skip to content

Conversation

nickdrozd
Copy link
Contributor

@nickdrozd nickdrozd commented Aug 26, 2025

Closes #15555

changelog: [use_self]: Check structs and enums

@rustbot
Copy link
Collaborator

rustbot commented Aug 26, 2025

r? @blyxyas

rustbot has assigned @blyxyas.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 26, 2025
Copy link

Lintcheck changes for 0b641e4

Lint Added Removed Changed
clippy::use_self 63 0 5

This comment will be updated if you push new changes

@nickdrozd
Copy link
Contributor Author

Hello. The implementation of this change turned out to be almost suspiciously easy. I tried to be thorough with testing. Happy to add more cases (lifetimes, etc).

I browsed through the new lintcheck added lines. They seem to be fine. There are a few changed lines, but they seem unrelated to this PR? Not sure.

Probably need doc changes here or there too. Will do if changes are okay.

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

Extend use_self to structs
3 participants