Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Ignore similar_names pedantic clippy lint
Browse files Browse the repository at this point in the history
    error: binding's name is too similar to existing binding
      --> tests/test_de.rs:30:13
       |
    30 |     let mut deserializer = Deserializer::from_str(yaml);
       |             ^^^^^^^^^^^^
       |
    note: existing binding defined here
      --> tests/test_de.rs:18:9
       |
    18 |     let deserialized: T = serde_yaml::from_str(yaml).unwrap();
       |         ^^^^^^^^^^^^
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
       = note: `-D clippy::similar-names` implied by `-D clippy::pedantic`
  • Loading branch information
dtolnay committed Apr 5, 2023
1 parent 234272f commit 8353dbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
clippy::cast_lossless,
clippy::cast_possible_wrap,
clippy::derive_partial_eq_without_eq,
clippy::similar_names,
clippy::uninlined_format_args
)]

Expand Down

0 comments on commit 8353dbf

Please sign in to comment.