From f2de0509f5cbabad34e20dded361a65347afc96c Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 14 Apr 2017 12:24:22 -0700 Subject: [PATCH] Whitelist the zero prefixed literals used in array_impls --- serde/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index bad71266..4b84c7ba 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -94,7 +94,10 @@ #![cfg_attr(feature = "collections", feature(collections))] // Whitelisted clippy lints. -#![cfg_attr(feature = "cargo-clippy", allow(linkedlist, type_complexity, doc_markdown))] +#![cfg_attr(feature = "cargo-clippy", allow(doc_markdown))] +#![cfg_attr(feature = "cargo-clippy", allow(linkedlist))] +#![cfg_attr(feature = "cargo-clippy", allow(type_complexity))] +#![cfg_attr(feature = "cargo-clippy", allow(zero_prefixed_literal))] // Blacklisted Rust lints. #![deny(missing_docs, unused_imports)]