about summary refs log tree commit diff
path: root/src/libcore
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/libcore
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/libcore')
-rw-r--r--src/libcore/hash/sip.rs1
-rw-r--r--src/libcore/marker.rs2
-rw-r--r--src/libcore/str/mod.rs1
3 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/hash/sip.rs b/src/libcore/hash/sip.rs
index bef196d4824..d405d0d28be 100644
--- a/src/libcore/hash/sip.rs
+++ b/src/libcore/hash/sip.rs
@@ -30,7 +30,6 @@ use super::{Hasher, Writer};
 /// strong, this implementation has not been reviewed for such purposes.
 /// As such, all cryptographic uses of this implementation are strongly
 /// discouraged.
-#[allow(missing_copy_implementations)]
 pub struct SipHasher {
     k0: u64,
     k1: u64,
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 299cdbda3cc..2d14b31748e 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -396,7 +396,6 @@ pub struct InvariantLifetime<'a>;
            reason = "likely to change with new variance strategy")]
 #[lang="no_copy_bound"]
 #[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
-#[allow(missing_copy_implementations)]
 pub struct NoCopy;
 
 /// A type which is considered managed by the GC. This is typically
@@ -405,5 +404,4 @@ pub struct NoCopy;
            reason = "likely to change with new variance strategy")]
 #[lang="managed_bound"]
 #[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
-#[allow(missing_copy_implementations)]
 pub struct Managed;
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index 673ab1e094a..013b7f27839 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -149,7 +149,6 @@ impl FromStr for bool {
 
 /// An error returned when parsing a `bool` from a string fails.
 #[derive(Debug, Clone, PartialEq)]
-#[allow(missing_copy_implementations)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct ParseBoolError { _priv: () }