summaryrefslogtreecommitdiffstats
path: root/library/alloc/tests/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/alloc/tests/lib.rs')
-rw-r--r--library/alloc/tests/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs
index ffc5ca7a5..d6d2b055b 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -47,6 +47,8 @@
#![feature(strict_provenance)]
#![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};