about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 \