about summary refs log tree commit diff
path: root/src/libsync
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-08-11 17:18:19 -0700
committerAaron Turon <aturon@mozilla.com>2014-08-12 13:35:56 -0700
commitffd87daeedbad27808e73f3d680f98525cec3453 (patch)
tree51ea1ca7eaae4a55bdc1679174f7d0229a56cbaf /src/libsync
parentf77cabecbba8d842cd944b064065ad4e6a6b760d (diff)
downloadrust-ffd87daeedbad27808e73f3d680f98525cec3453.tar.gz
rust-ffd87daeedbad27808e73f3d680f98525cec3453.zip
Deprecation fallout in libsync
Diffstat (limited to 'src/libsync')
-rw-r--r--src/libsync/atomic.rs2
-rw-r--r--src/libsync/comm/duplex.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libsync/atomic.rs b/src/libsync/atomic.rs
index 31b993d8bab..301d444b1b1 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 44dd63cbf6c..587827d2bc5 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 \