summaryrefslogtreecommitdiff
path: root/src/sgx.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2019-01-23 07:23:09 -0800
committerBryant Mairs <bryant@mai.rs>2019-02-02 16:32:00 -0800
commitf3684584c99b8048cbfb056346dba34328e3a4f9 (patch)
tree953c2303d7708deffa76bc3daaab254f8eb99ec4 /src/sgx.rs
parentfa9cb78b4a04e6cbb12c3edc3efb9486d0f13b37 (diff)
downloadrust-libc-f3684584c99b8048cbfb056346dba34328e3a4f9.tar.gz
Check for Copy impls for all types
Diffstat (limited to 'src/sgx.rs')
-rw-r--r--src/sgx.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sgx.rs b/src/sgx.rs
index 045133399b..1d5ca21292 100644
--- a/src/sgx.rs
+++ b/src/sgx.rs
@@ -43,6 +43,7 @@ cfg_if! {
// enable more optimization opportunities around it recognizing things
// like malloc/free.
#[repr(u8)]
+ #[allow(missing_copy_implementations)]
pub enum c_void {
// Two dummy variants so the #[repr] attribute can be used.
#[doc(hidden)]