Auto merge of #13541 - xFrednet:0-module-name-rep, r=blyxyas
Move `clippy::module_name_repetitions` to `restriction` (from `pedantic`) Rational: - Too pedantic IMO, I use `#[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 IMO - STD doesn't do this either. Examples: - std::vec::Vec - std::collections::vec_deque::VecDequeue - #7666 commonly ignored --- changelog: Move [`module_name_repetitions`] to `restriction` (from `pedantic`) [#13541](https://github.com/rust-lang/rust-clippy/pull/13541)
This commit is contained in:
commit
43e99e54fa
@ -88,7 +88,7 @@ declare_clippy_lint! {
|
||||
/// ```
|
||||
#[clippy::version = "1.33.0"]
|
||||
pub MODULE_NAME_REPETITIONS,
|
||||
pedantic,
|
||||
restriction,
|
||||
"type names prefixed/postfixed with their containing module's name"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user