Skip to content
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

feat: add lint struct_marked_non_exhaustive_changed_type #963

Conversation

CommanderStorm
Copy link
Contributor

@CommanderStorm CommanderStorm commented Oct 6, 2024

This implemnents the second part of #954

Resolves #954

TODO:

@CommanderStorm CommanderStorm changed the title feat: implemented lint struct_marked_non_exhaustive_changed_type feat: add lint struct_marked_non_exhaustive_changed_type Oct 6, 2024
@CommanderStorm CommanderStorm force-pushed the struct_marked_non_exhaustive_changed_type branch from 51816ae to 286659f Compare October 6, 2024 23:33
@CommanderStorm CommanderStorm marked this pull request as ready for review October 7, 2024 12:02
@CommanderStorm CommanderStorm force-pushed the struct_marked_non_exhaustive_changed_type branch from e2832af to 104b00c Compare October 7, 2024 12:02
Copy link
Owner

@obi1kenobi obi1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Just a couple of minor nitpicks and this is good to merge.

@obi1kenobi
Copy link
Owner

I think this still needs a snapshot file update to pass CI. I'm guessing you did a manual find-and-replace on the lint name in the snapshots, but that upset the ordering?

If you have a second to update the snapshot, I can merge and release this in the upcoming version this week.

@CommanderStorm
Copy link
Contributor Author

think this still needs a snapshot file update to pass CI

Oops, missed those files / forgot to change the testcases during the renaming

@obi1kenobi obi1kenobi enabled auto-merge (squash) October 16, 2024 20:38
@obi1kenobi obi1kenobi merged commit fb4ee17 into obi1kenobi:main Oct 16, 2024
34 checks passed
@CommanderStorm CommanderStorm deleted the struct_marked_non_exhaustive_changed_type branch October 16, 2024 20:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New lint: public API struct became enum or union
2 participants