Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 737f78c · Browse files · 5 files+6 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+6 added−10 removed

  • other:+6 added−10 removed

5 files+6 added−10 removed

modified:.github/workflows/ci.yml+6 added-6 removed
modified:serde/src/lib.rs-1 removed
92 unmodified lines
93// https://github.com/serde-rs/serde/issues/81294#![cfg_attr(feature = "unstable", feature(never_type))]95#![allow(unknown_lints, bare_trait_objects, deprecated)]96#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]97#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]97// Ignored clippy and clippy_pedantic lints98#![cfg_attr(99 feature = "cargo-clippy",100 allow(
197 unmodified lines
modified:serde_derive/src/lib.rs-1 removed
13 unmodified lines
14//! [https://serde.rs/derive.html]: https://serde.rs/derive.html1516#![doc(html_root_url = "https://docs.rs/serde_derive/1.0.130")]17#![allow(unknown_lints, bare_trait_objects)]18#![deny(clippy::all, clippy::pedantic)]18// Ignored clippy lints19#![allow(20 // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/705421 clippy::branches_sharing_code,
86 unmodified lines
modified:serde_derive_internals/lib.rs-1 removed
1#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.26.0")]2#![allow(unknown_lints, bare_trait_objects)]3#![deny(clippy::all, clippy::pedantic)]3// Ignored clippy lints4#![allow(5 clippy::cognitive_complexity,6 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/7575
43 unmodified lines
modified:serde_test/src/lib.rs-1 removed
144 unmodified lines
145//! ```146147#![doc(html_root_url = "https://docs.rs/serde_test/1.0.130")]148#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]149#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]149// Ignored clippy lints150#![cfg_attr(feature = "cargo-clippy", allow(float_cmp, needless_doctest_main))]151// Ignored clippy_pedantic lints152#![cfg_attr(
38 unmodified lines