Move deny(clippy) to command line arguments in the CI job

This commit is contained in:
David Tolnay
2021-11-04 20:08:43 -07:00
parent 737f78c315
commit 8f16ac0a94
5 changed files with 6 additions and 10 deletions
-1
View File
@@ -94,7 +94,6 @@
#![cfg_attr(feature = "unstable", feature(never_type))]
#![allow(unknown_lints, bare_trait_objects, deprecated)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Ignored clippy and clippy_pedantic lints
#![cfg_attr(
feature = "cargo-clippy",