diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-12-08 14:07:33 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-12-08 21:44:04 -0800 |
| commit | fcd1f53e4351d241b27c8a3af37e37962811a124 (patch) | |
| tree | 4b56e42989d7b6c778cfdf6f68178697203466e9 /src | |
| parent | a16f60b1173fae1b971b41780288e2dbe005569d (diff) | |
| download | rust-fcd1f53e4351d241b27c8a3af37e37962811a124.tar.gz rust-fcd1f53e4351d241b27c8a3af37e37962811a124.zip | |
Add some missing Copy implementations
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustrt/unwind.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/librustrt/unwind.rs b/src/librustrt/unwind.rs index 714d30ae4b1..5bc542a84e6 100644 --- a/src/librustrt/unwind.rs +++ b/src/librustrt/unwind.rs @@ -400,14 +400,18 @@ pub mod eabi { #[allow(non_camel_case_types, non_snake_case)] pub mod eabi { pub use self::EXCEPTION_DISPOSITION::*; + use core::prelude::*; use libunwind as uw; 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)] @@ -418,6 +422,8 @@ pub mod eabi { ExceptionCollidedUnwind } + impl Copy for EXCEPTION_DISPOSITION {} + type _Unwind_Personality_Fn = extern "C" fn( version: c_int, |
