From d6e5947ad219ebb5fc1518bd99605bb38bb51da3 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 16 Aug 2019 11:24:22 -0700 Subject: [PATCH] Suppress warnings about try! macro --- serde/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index c8094738..15b981f9 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -81,7 +81,7 @@ // // https://github.com/serde-rs/serde/issues/812 #![cfg_attr(feature = "unstable", feature(specialization, never_type))] -#![allow(unknown_lints, bare_trait_objects)] +#![allow(unknown_lints, bare_trait_objects, deprecated)] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] // Ignored clippy and clippy_pedantic lints