summaryrefslogtreecommitdiff
path: root/src/lib.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/lib.rs
parentfa9cb78b4a04e6cbb12c3edc3efb9486d0f13b37 (diff)
downloadrust-libc-f3684584c99b8048cbfb056346dba34328e3a4f9.tar.gz
Check for Copy impls for all types
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 86ab9b1368..2300e823e9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -158,6 +158,7 @@
#![cfg_attr(not(any(feature = "use_std", feature = "rustc-dep-of-std")), no_std)]
// Enable lints
#![cfg_attr(feature = "extra_traits", deny(missing_debug_implementations))]
+#![deny(missing_copy_implementations)]
#[cfg(all(not(cross_platform_docs), feature = "use_std"))]
extern crate std as core;