Skip to content

Conversation

@DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Sep 15, 2025

Having used clippy::default_trait_access as an editor lint, I'm really happy with it. It also only ever makes extremely local suggestions (making addressing it when writing a change trivial), and significantly improves readability in a lot of cases. It's also something which I've now found myself suggesting regularly in PR reviews, as better style.
As such, I'm proposing that we move this into the proper lint set.

Separately, unused_qualifications is good for consistency (if you see Rect and kurbo::Rect next to each other, you might reasonably assume that they are different types). As such, I'm also proposing that we move this into the "proper" lint set out of the periodic lints.
This proposal is more marginal, and I'm happy to demote it back to a periodic lint if there's pushback.

Thirdly, I'm proposing removed the editor lints as a class; I don't think anyone ever used them, and the theory that you can make drive-by style fixes in otherwise unrelated PRs was never sound.

Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

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

I think these are very reasonable improvements. Thanks!

@DJMcNab DJMcNab merged commit c4b2fed into linebender:main Oct 14, 2025
2 checks passed
@DJMcNab DJMcNab deleted the lint_set_v7 branch October 17, 2025 13:12
github-merge-queue bot pushed a commit to linebender/color that referenced this pull request Oct 17, 2025
See linebender/linebender.github.io#122

Not exactly urgent as there are no changes, but I'm going down the line
and re-syncing stuff.

Also some tweaks in the `color_operations` stub to properly apply
`no_std`.
DJMcNab added a commit to DJMcNab/peniko that referenced this pull request Oct 17, 2025
github-merge-queue bot pushed a commit to linebender/kurbo that referenced this pull request Oct 17, 2025
github-merge-queue bot pushed a commit to linebender/parley that referenced this pull request Oct 17, 2025
DJMcNab added a commit to DJMcNab/xilem that referenced this pull request Oct 22, 2025
github-merge-queue bot pushed a commit to linebender/xilem that referenced this pull request Oct 22, 2025
See linebender/linebender.github.io#122

As it happens, we already followed this pretty completely.
github-merge-queue bot pushed a commit to linebender/peniko that referenced this pull request Oct 24, 2025
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.

2 participants