about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-06 05:38:08 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-06 16:21:08 +0530
commit67b51291f0ffb352ec3f4cc2455a85cfa3995946 (patch)
tree6161f3383b83f4c11a37cd9e136afa06e7dbf18f /src/libstd/sync
parentcfae247ce0423d3b6a0114b8b64826cdec461edc (diff)
parent85a85c2070a6a967f1ccb1495391217fdb793112 (diff)
downloadrust-67b51291f0ffb352ec3f4cc2455a85cfa3995946.tar.gz
rust-67b51291f0ffb352ec3f4cc2455a85cfa3995946.zip
Rollup merge of #21925 - sfackler:allow-missing-copy, r=alexcrichton
 This was particularly helpful in the time just after OIBIT's
implementation to make sure things that were supposed to be Copy
continued to be, but it's now creates a lot of noise for types that
intentionally don't want to be Copy.

r? @alexcrichton
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/barrier.rs1
-rw-r--r--src/libstd/sync/poison.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/sync/barrier.rs b/src/libstd/sync/barrier.rs
index 581e540d3b6..cca376f7b6d 100644
--- a/src/libstd/sync/barrier.rs
+++ b/src/libstd/sync/barrier.rs
@@ -46,7 +46,6 @@ struct BarrierState {
 ///
 /// Currently this opaque structure only has one method, `.is_leader()`. Only
 /// one thread will receive a result that will return `true` from this function.
-#[allow(missing_copy_implementations)]
 pub struct BarrierWaitResult(bool);
 
 impl Barrier {
diff --git a/src/libstd/sync/poison.rs b/src/libstd/sync/poison.rs
index 18680b96592..d9bc37d312e 100644
--- a/src/libstd/sync/poison.rs
+++ b/src/libstd/sync/poison.rs
@@ -42,7 +42,6 @@ impl Flag {
     }
 }
 
-#[allow(missing_copy_implementations)]
 pub struct Guard {
     panicking: bool,
 }