From ffd87daeedbad27808e73f3d680f98525cec3453 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Mon, 11 Aug 2014 17:18:19 -0700 Subject: [PATCH] Deprecation fallout in libsync --- src/libsync/atomic.rs | 2 ++ src/libsync/comm/duplex.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/libsync/atomic.rs b/src/libsync/atomic.rs index 31b993d8bab4..301d444b1b15 100644 --- a/src/libsync/atomic.rs +++ b/src/libsync/atomic.rs @@ -101,6 +101,8 @@ //! } //! ``` +#![allow(deprecated)] + use core::prelude::*; use alloc::boxed::Box; diff --git a/src/libsync/comm/duplex.rs b/src/libsync/comm/duplex.rs index 44dd63cbf6c0..587827d2bc57 100644 --- a/src/libsync/comm/duplex.rs +++ b/src/libsync/comm/duplex.rs @@ -15,6 +15,7 @@ Higher level communication abstractions. */ #![allow(missing_doc)] +#![allow(deprecated)] #![deprecated = "This type is replaced by having a pair of channels. This type \ is not fully composable with other channels in terms of \ or possible semantics on a duplex stream. It will be removed \