File tree Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Expand file tree Collapse file tree 5 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -155,9 +155,9 @@ jobs:
155155 - uses : dtolnay/rust-toolchain@clippy
156156 # The need for -Aredundant_field_names here is a Clippy bug.
157157 # https://github.com/rust-lang/rust-clippy/issues/5356
158- - run : cd serde && cargo clippy --features rc,unstable -- -D clippy ::all -A clippy ::redundant_field_names
159- - run : cd serde_derive && cargo clippy -- -D clippy ::all
160- - run : cd serde_derive_internals && cargo clippy -- -D clippy ::all
161- - run : cd serde_test && cargo clippy -- -D clippy ::all -A clippy ::redundant_field_names
162- - run : cd test_suite && cargo clippy --tests --features unstable -- -D clippy ::all -A clippy ::redundant_field_names
163- - run : cd test_suite/no_std && cargo clippy -- -D clippy ::all -A clippy ::redundant_field_names
158+ - run : cd serde && cargo clippy --features rc,unstable -- -Dclippy ::all -Dclippy::pedantic -Aclippy ::redundant_field_names
159+ - run : cd serde_derive && cargo clippy -- -Dclippy ::all -Dclippy::pedantic
160+ - run : cd serde_derive_internals && cargo clippy -- -Dclippy ::all -Dclippy::pedantic
161+ - run : cd serde_test && cargo clippy -- -Dclippy ::all -Dclippy::pedantic -Aclippy ::redundant_field_names
162+ - run : cd test_suite && cargo clippy --tests --features unstable -- -Dclippy ::all -Aclippy ::redundant_field_names
163+ - run : cd test_suite/no_std && cargo clippy -- -Dclippy ::all -Aclippy ::redundant_field_names
Original file line number Diff line number Diff line change 9494#![ cfg_attr( feature = "unstable" , feature( never_type) ) ]
9595#![ allow( unknown_lints, bare_trait_objects, deprecated) ]
9696#![ cfg_attr( feature = "cargo-clippy" , allow( renamed_and_removed_lints) ) ]
97- #![ cfg_attr( feature = "cargo-clippy" , deny( clippy, clippy_pedantic) ) ]
9897// Ignored clippy and clippy_pedantic lints
9998#![ cfg_attr(
10099 feature = "cargo-clippy" ,
Original file line number Diff line number Diff line change 1515
1616#![ doc( html_root_url = "https://docs.rs/serde_derive/1.0.130" ) ]
1717#![ allow( unknown_lints, bare_trait_objects) ]
18- #![ deny( clippy:: all, clippy:: pedantic) ]
1918// Ignored clippy lints
2019#![ allow(
2120 // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054
Original file line number Diff line number Diff line change 11#![ doc( html_root_url = "https://docs.rs/serde_derive_internals/0.26.0" ) ]
22#![ allow( unknown_lints, bare_trait_objects) ]
3- #![ deny( clippy:: all, clippy:: pedantic) ]
43// Ignored clippy lints
54#![ allow(
65 clippy:: cognitive_complexity,
Original file line number Diff line number Diff line change 146146
147147#![ doc( html_root_url = "https://docs.rs/serde_test/1.0.130" ) ]
148148#![ cfg_attr( feature = "cargo-clippy" , allow( renamed_and_removed_lints) ) ]
149- #![ cfg_attr( feature = "cargo-clippy" , deny( clippy, clippy_pedantic) ) ]
150149// Ignored clippy lints
151150#![ cfg_attr( feature = "cargo-clippy" , allow( float_cmp, needless_doctest_main) ) ]
152151// Ignored clippy_pedantic lints
You can’t perform that action at this time.
0 commit comments