]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/tests/lib.rs
Rollup merge of #104675 - SarthakSingh31:issue-101666, r=jyn514
[rust.git] / library / alloc / tests / lib.rs
index d066ec03ee57e861b17b640d4afb33ac1929f713..d6d2b055b2395e8563543ed0628189b5b975823c 100644 (file)
@@ -48,6 +48,7 @@
 #![feature(once_cell)]
 #![feature(drain_keep_rest)]
 #![deny(fuzzy_provenance_casts)]
+#![deny(unsafe_op_in_unsafe_fn)]
 
 use std::collections::hash_map::DefaultHasher;
 use std::hash::{Hash, Hasher};