aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lib.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-03-18 14:43:03 +0100
committerMs2ger <Ms2ger@gmail.com>2016-03-18 14:43:03 +0100
commit08083f1c9d08de0e19e16efb9e6923612706032c (patch)
treec6610962bea427b945ba12ecd3cea62b16b46cd6 /components/plugins/lib.rs
parentc90a1b9b1c44dbf3d3f9dde7e99f4fccfe598542 (diff)
downloadservo-08083f1c9d08de0e19e16efb9e6923612706032c.tar.gz
servo-08083f1c9d08de0e19e16efb9e6923612706032c.zip
Deny unsafe code in more crates.
Diffstat (limited to 'components/plugins/lib.rs')
-rw-r--r--components/plugins/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/plugins/lib.rs b/components/plugins/lib.rs
index 7534b6e5f37..b949d516b52 100644
--- a/components/plugins/lib.rs
+++ b/components/plugins/lib.rs
@@ -15,6 +15,8 @@
#![feature(plugin_registrar, quote, plugin, box_syntax, rustc_private, slice_patterns)]
+#![deny(unsafe_code)]
+
#[cfg(feature = "clippy")]
extern crate clippy;
#[macro_use]