about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorljedrz <ljedrz@gmail.com>2018-07-12 13:50:22 +0200
committerljedrz <ljedrz@gmail.com>2018-07-12 13:50:22 +0200
commit5058af70039d4cf417f6cc94617da7b5d647182a (patch)
tree97f34ccd702f876207199d70bc5fb02217ed3bca /src/liballoc_jemalloc
parentc946c2539e9690fab5dbf7ac217ec696ac263cf3 (diff)
downloadrust-5058af70039d4cf417f6cc94617da7b5d647182a.tar.gz
rust-5058af70039d4cf417f6cc94617da7b5d647182a.zip
Deny bare trait objects in the rest of rust
Diffstat (limited to 'src/liballoc_jemalloc')
-rw-r--r--src/liballoc_jemalloc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc_jemalloc/lib.rs b/src/liballoc_jemalloc/lib.rs
index b3b20715511..413b212281b 100644
--- a/src/liballoc_jemalloc/lib.rs
+++ b/src/liballoc_jemalloc/lib.rs
@@ -10,6 +10,7 @@
 
 #![no_std]
 #![allow(unused_attributes)]
+#![deny(bare_trait_objects)]
 #![unstable(feature = "alloc_jemalloc",
             reason = "implementation detail of std, does not provide any public API",
             issue = "0")]