From 9bb423e3226fbfd25c121202a3e90236c5e69388 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Sat, 26 Aug 2023 02:52:02 -0600 Subject: [PATCH] DONOTMERGE: allow `clippy::items-after-test-module` due to `test-case` crate false posititves https://github.com/rust-lang/rust-clippy/issues/11153 --- ci/test-checks.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 15f891b1e28cbe..6394c3fc869e41 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -76,6 +76,7 @@ _ scripts/cargo-for-all-lock-files.sh -- "+${rust_nightly}" clippy --workspace - --deny=clippy::integer_arithmetic \ --deny=clippy::manual_let_else \ --deny=clippy::used_underscore_binding \ + --allow=clippy::items-after-test-module \ "${nightly_clippy_allows[@]}" # temporarily run stable clippy as well to scan the codebase for @@ -89,6 +90,7 @@ _ scripts/cargo-for-all-lock-files.sh -- clippy --workspace --tests --bins --ex --deny=clippy::default_trait_access \ --deny=clippy::integer_arithmetic \ --deny=clippy::manual_let_else \ + --allow=clippy::items-after-test-module \ --deny=clippy::used_underscore_binding if [[ -n $CI ]]; then