From 36f688f624b495b34d629032d9395148e083fb3d Mon Sep 17 00:00:00 2001 From: Alan Somers <asomers@gmail.com> Date: Thu, 11 Jul 2019 17:44:48 -0600 Subject: [PATCH] Temporarily allow deprecated items This fixes the tests on Rust 1.38.0. We'll fix them for real after release 0.15.0. Issue #1096 --- src/lib.rs | 2 ++ test/test.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 22577cfe63..71485d2af1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,8 @@ #![deny(unstable_features)] #![deny(missing_copy_implementations)] #![deny(missing_debug_implementations)] +// XXX Allow deprecated items until release 0.16.0. See issue #1096. +#![allow(deprecated)] // External crates #[macro_use] diff --git a/test/test.rs b/test/test.rs index 4c7e5b1e95..6a71d261b5 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,3 +1,5 @@ +// XXX Allow deprecated items until release 0.16.0. See issue #1096. +#![allow(deprecated)] extern crate bytes; #[cfg(any(target_os = "android", target_os = "linux"))] extern crate caps;