Skip to content

Commit

Permalink
Remove clippy clone-double-ref lint noise (#1860)
Browse files Browse the repository at this point in the history
The lint `clippy::clone_double_ref` was renamed to
`suspicious_double_ref_op` in [this
commit](rust-lang/rust@5c99175)
(thanks @liamaharon) and now generates a lot of noise in the terminal
when run both in CI and locally with 1.73.

This renames the lint in line with this, but does not change
functionality.

May cause issues for people running earlier versions locally - @altaua
requesting review to get your opinion on this.
  • Loading branch information
seadanda authored Oct 13, 2023
1 parent 2484029 commit 1f28cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rustflags = [
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Aclippy::clone-double-ref",
"-Asuspicious_double_ref_op",
"-Dclippy::complexity",
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
Expand Down

0 comments on commit 1f28cdd

Please sign in to comment.