Skip to content

Commit

Permalink
Ignore struct_field_names pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: field name ends with the struct's name
      --> impl/src/attr.rs:23:5
       |
    23 |     pub has_bonus_display: bool,
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_field_names
       = note: `-W clippy::struct-field-names` implied by `-W clippy::pedantic`
       = help: to override `-W clippy::pedantic` add `#[allow(clippy::struct_field_names)]`
  • Loading branch information
dtolnay committed Oct 22, 2023
1 parent a7d220d commit e9ea67c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
clippy::option_if_let_else,
clippy::range_plus_one,
clippy::single_match_else,
clippy::struct_field_names,
clippy::too_many_lines,
clippy::wrong_self_convention
)]
Expand Down

0 comments on commit e9ea67c

Please sign in to comment.