about summary refs log tree commit diff
path: root/library/core/src/lib.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-17 10:12:25 +0100
committerRalf Jung <post@ralfj.de>2024-03-23 18:44:17 +0100
commit987ef4c9221e792614a015a39b78f7d6a156c2f2 (patch)
tree44985e29db29ff6466fa01ca440416892cf7c49b /library/core/src/lib.rs
parentd6eb0f5a09247ff8443e68b4d17e0350c74bafb1 (diff)
downloadrust-987ef4c9221e792614a015a39b78f7d6a156c2f2.tar.gz
rust-987ef4c9221e792614a015a39b78f7d6a156c2f2.zip
move assert_unsafe_preconditions to its own file
These macros and functions are not intrinsics, after all.
Diffstat (limited to 'library/core/src/lib.rs')
-rw-r--r--library/core/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index ded8f4ba841..8f292bf1551 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -367,6 +367,7 @@ pub mod hint;
 pub mod intrinsics;
 pub mod mem;
 pub mod ptr;
+mod ub_checks;
 
 /* Core language traits */