diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3462deb..6c66b471 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,11 +167,11 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@clippy - - run: cd serde && cargo clippy --features rc,unstable -- -Dclippy::all -Dclippy::pedantic -Aclippy::let_underscore_drop + - 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::let_underscore_drop - - run: cd test_suite && cargo clippy --tests --features unstable -- -Dclippy::all -Dclippy::pedantic -Aclippy::let_underscore_drop + - 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 miri: diff --git a/serde/src/lib.rs b/serde/src/lib.rs index d751260d..9bfbd37a 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -118,7 +118,6 @@ derive_partial_eq_without_eq, enum_glob_use, explicit_auto_deref, - let_underscore_drop, map_err_ignore, new_without_default, result_unit_err, diff --git a/serde_derive/src/lib.rs b/serde_derive/src/lib.rs index fc8529e4..02850aa1 100644 --- a/serde_derive/src/lib.rs +++ b/serde_derive/src/lib.rs @@ -43,7 +43,6 @@ clippy::enum_glob_use, clippy::indexing_slicing, clippy::items_after_statements, - clippy::let_underscore_drop, clippy::manual_assert, clippy::map_err_ignore, clippy::match_same_arms, diff --git a/serde_derive_internals/lib.rs b/serde_derive_internals/lib.rs index c00fe5a6..cc1c1929 100644 --- a/serde_derive_internals/lib.rs +++ b/serde_derive_internals/lib.rs @@ -22,7 +22,6 @@ clippy::doc_markdown, clippy::enum_glob_use, clippy::items_after_statements, - clippy::let_underscore_drop, clippy::manual_assert, clippy::match_same_arms, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6984