-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
arbitrary_source_item_ordering
: Make alphabetic ordering in module item groups optional
#13718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the wait, this change looks good to me. I have one question but it's not a blocker (although it would be good to decide now so we wouldn't need to change the behavior of this configuration later and break users)
☔ The latest upstream changes (presumably 1dddeab) made this pull request unmergeable. Please resolve the merge conflicts. |
9f4ba3c
to
5b2f954
Compare
5b2f954
to
438cd30
Compare
b4673c2
to
058104f
Compare
058104f
to
c0d8704
Compare
…ult: off) From feedback to this lint after its inclusion in clippy 1.82, this has turned out to be the most requested improvement. With this improvement, it is possible to make the lint check certain top-level structural checks on modules (e.g. use statements and module inclusions at the top), but still leaving everything else up to the developer.
c0d8704
to
5df6887
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thank you for working on this!
From feedback to the
arbitrary_source_item_ordering
lint after its inclusion in clippy 1.82, making alphabetic ordering within module item groups has turned out to be the most requested improvement. With this improvement, it is possible to make the lint perform certain top-level structural checks on modules (e.g. use statements and module inclusions at the top), but still leaving everything else up to the developer.Implements parts of the suggestions from #13675. A catch-all-group is still to be implemented.
changelog: [
arbitrary_source_item_ordering
]: Make alphabetic ordering in module item groups optional (off by default)