Skip to content

Commit

Permalink
Ignore module_name_repetitions pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: item name ends with its containing module's name
     --> impl/src/span.rs:4:11
      |
    4 | pub trait MemberSpan {
      |           ^^^^^^^^^^
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
      = note: `-W clippy::module-name-repetitions` implied by `-W clippy::pedantic`
      = help: to override `-W clippy::pedantic` add `#[allow(clippy::module_name_repetitions)]`
  • Loading branch information
dtolnay committed Oct 19, 2023
1 parent ebebf77 commit 4088d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impl/src/lib.rs
Expand Up @@ -6,6 +6,7 @@
clippy::manual_let_else,
clippy::manual_map,
clippy::map_unwrap_or,
clippy::module_name_repetitions,
clippy::needless_pass_by_value,
clippy::option_if_let_else,
clippy::range_plus_one,
Expand Down

0 comments on commit 4088d16

Please sign in to comment.