diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-06 05:38:08 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-06 16:21:08 +0530 |
| commit | 67b51291f0ffb352ec3f4cc2455a85cfa3995946 (patch) | |
| tree | 6161f3383b83f4c11a37cd9e136afa06e7dbf18f /src/libstd/rt | |
| parent | cfae247ce0423d3b6a0114b8b64826cdec461edc (diff) | |
| parent | 85a85c2070a6a967f1ccb1495391217fdb793112 (diff) | |
| download | rust-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/rt')
| -rw-r--r-- | src/libstd/rt/unwind.rs | 3 | ||||
| -rw-r--r-- | src/libstd/rt/util.rs | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/rt/unwind.rs b/src/libstd/rt/unwind.rs index 81ca5aa0e8a..b37996fa9d9 100644 --- a/src/libstd/rt/unwind.rs +++ b/src/libstd/rt/unwind.rs @@ -390,13 +390,10 @@ pub mod eabi { use libc::{c_void, c_int}; #[repr(C)] - #[allow(missing_copy_implementations)] pub struct EXCEPTION_RECORD; #[repr(C)] - #[allow(missing_copy_implementations)] pub struct CONTEXT; #[repr(C)] - #[allow(missing_copy_implementations)] pub struct DISPATCHER_CONTEXT; #[repr(C)] diff --git a/src/libstd/rt/util.rs b/src/libstd/rt/util.rs index 86d21cf7278..703dca4d29b 100644 --- a/src/libstd/rt/util.rs +++ b/src/libstd/rt/util.rs @@ -88,7 +88,6 @@ pub fn default_sched_threads() -> uint { pub const ENFORCE_SANITY: bool = true || !cfg!(rtopt) || cfg!(rtdebug) || cfg!(rtassert); -#[allow(missing_copy_implementations)] pub struct Stdio(libc::c_int); #[allow(non_upper_case_globals)] |
