From c3c1641c06f4baaa06ce9627071a4f2169b770ec Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 4 Nov 2021 20:23:25 -0700 Subject: [PATCH] Remove workaround for redundant_field_names Clippy bug --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfb764a65..d2ed784c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,11 +153,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@clippy - # The need for -Aredundant_field_names here is a Clippy bug. - # https://github.com/rust-lang/rust-clippy/issues/5356 - - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic -Aclippy::redundant_field_names + - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic - run: cd serde_derive && cargo clippy -- -Dclippy::all -Dclippy::pedantic - run: cd serde_derive_internals && cargo clippy -- -Dclippy::all -Dclippy::pedantic - - run: cd serde_test && cargo clippy -- -Dclippy::all -Dclippy::pedantic -Aclippy::redundant_field_names - - run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedantic -Aclippy::redundant_field_names - - run: cd test_suite/no_std && cargo clippy -- -Dclippy::all -Dclippy::pedantic -Aclippy::redundant_field_names + - run: cd serde_test && cargo clippy -- -Dclippy::all -Dclippy::pedantic + - run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedantic + - run: cd test_suite/no_std && cargo clippy -- -Dclippy::all -Dclippy::pedantic