Skip to content

Commit

Permalink
Temporarily allow clippy::derive_partial_eq_without_eq
Browse files Browse the repository at this point in the history
The lint has known false positives and has been moved to the nursery
on the nightly compiler:

  rust-lang/rust-clippy#9530

We’ll allow the lint for now until this change lands in a stable
compiler.
  • Loading branch information
mgeisler committed Oct 23, 2022
1 parent 3c052a0 commit 9fcce9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ jobs:

- uses: Swatinem/rust-cache@v2

# Remove "-A clippy::derive_partial_eq_without_eq" below when
# https://github.com/rust-lang/rust-clippy/issues/9530 is in a
# stable release.
- name: Clippy with default lints
run: cargo clippy
run: cargo clippy -- -A clippy::derive_partial_eq_without_eq

- name: Lint for left-over debug prints
run: cargo clippy -- -D clippy::print_stdout -D clippy::print_stderr
Expand Down

0 comments on commit 9fcce9b

Please sign in to comment.