diff --git a/ci/nits.sh b/ci/nits.sh index 1ebfc1b13b1cf1..be6376db4f7709 100755 --- a/ci/nits.sh +++ b/ci/nits.sh @@ -41,16 +41,6 @@ if _ git --no-pager grep -n "${prints[@]/#/-e}" -- "${print_free_tree[@]}"; then exit 1 fi - -# Code readability: please be explicit about the type instead of using -# Default::default() -# -# Ref: https://github.com/solana-labs/solana/issues/2630 -if _ git --no-pager grep -n 'Default::default()' -- '*.rs'; then - exit 1 -fi - - # Github Issues should be used to track outstanding work items instead of # marking up the code # diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 95c8a3f4a8c994..ae0ed762afaaf9 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -76,6 +76,7 @@ nightly_clippy_allows=() # run nightly clippy for `sdk/` as there's a moderate amount of nightly-only code there _ scripts/cargo-for-all-lock-files.sh -- "+${rust_nightly}" clippy --workspace --all-targets --features dummy-for-ci-check -- \ --deny=warnings \ + --deny=clippy::default_trait_access \ --deny=clippy::integer_arithmetic \ "${nightly_clippy_allows[@]}"