]> git.lizzy.rs Git - rust.git/blobdiff - library/core/tests/ptr.rs
Fix libcore unit tests in stage 0
[rust.git] / library / core / tests / ptr.rs
index d594af991bf64e09b44133195ae691aa7c49206e..1cdcb8c97670d4fc9fcd35d8286b86de632ad91c 100644 (file)
@@ -1,5 +1,8 @@
 use core::cell::RefCell;
-use core::ptr::{self, *};
+#[cfg(not(bootstrap))]
+use core::ptr;
+use core::ptr::*;
+#[cfg(not(bootstrap))]
 use std::fmt::{Debug, Display};
 
 #[test]