From 2b1303f59c5b3311274647c3c3681ff2eb0f0f06 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 31 Oct 2017 22:23:37 -0700 Subject: [PATCH] Whitelist const_static_lifetime This clippy suggestion is not stable in the older rustc we support. --- serde/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 426ea490..fa761292 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -95,6 +95,7 @@ // Whitelisted clippy lints #![cfg_attr(feature = "cargo-clippy", allow( cast_lossless, + const_static_lifetime, doc_markdown, linkedlist, type_complexity,