-
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
Move clippy::module_name_repetitions
to restriction
(from pedantic
)
#13541
Conversation
…ic`) Rational: - Too pedantic IMO, it's often better to have fine grained modules and then rexport stuff instead of one gigantic file - STD doesn't do this either. Examples: - std::vec::Vec - std::collections::vec_deque::VecDequeue - rust-clippy#7666 commonly ignored
be744b7
to
8b075fc
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.
I agree of the category change and approve, but just in case, is there any FCP-like process for moving lints between categories? I searched on Zulip and coulnd't find anything =^w^=
It's not documented, but the lint specifically allows this case, and only lints prefixes and suffixes: I don't mean to object to this change, only that this specific argument for it is not correct. |
There hasn't been one in the past. If you want you can create an FCP. I'd do that if I was unsure about such a change |
LGTM, thanks! ❤️ @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Rational:
#[warn(pedantic)]
in my personal projects, but then always allow this lint. The fact that we had a few#[expect(clippy::module_name_repetitions)]
also underlines this point IMOchangelog: Move [
module_name_repetitions
] torestriction
(frompedantic
)#13541