Clarify that these lints are ignored

This commit is contained in:
David Tolnay 2018-12-31 22:49:38 -05:00
parent 9b4edb3a1d
commit 2f36b26a5c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@
#![cfg_attr(feature = "alloc", feature(alloc))]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Whitelisted clippy lints
// Ignored clippy lints
#![cfg_attr(
feature = "cargo-clippy",
allow(
@ -101,7 +101,7 @@
zero_prefixed_literal
)
)]
// Whitelisted clippy_pedantic lints
// Ignored clippy_pedantic lints
#![cfg_attr(feature = "cargo-clippy", allow(
// integer and float ser/de requires these sorts of casts
cast_possible_truncation,

View File

@ -17,7 +17,7 @@
#![doc(html_root_url = "https://docs.rs/serde_derive/1.0.83")]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Whitelisted clippy lints
// Ignored clippy lints
#![cfg_attr(
feature = "cargo-clippy",
allow(
@ -30,7 +30,7 @@
used_underscore_binding,
)
)]
// Whitelisted clippy_pedantic lints
// Ignored clippy_pedantic lints
#![cfg_attr(
feature = "cargo-clippy",
allow(

View File

@ -147,9 +147,9 @@
#![doc(html_root_url = "https://docs.rs/serde_test/1.0.83")]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Whitelisted clippy lints
// Ignored clippy lints
#![cfg_attr(feature = "cargo-clippy", allow(float_cmp))]
// Whitelisted clippy_pedantic lints
// Ignored clippy_pedantic lints
#![cfg_attr(
feature = "cargo-clippy",
allow(