]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/alloc/mod.rs
Rollup merge of #102786 - compiler-errors:no-tuple-candidate, r=lcnr
[rust.git] / library / core / src / alloc / mod.rs
index 615531574786b521e75fd0b0b626b6adbcf319a8..a4bf6a853a65022bc0f9863e2d351838c69ee8e9 100644 (file)
@@ -21,7 +21,6 @@
 #[stable(feature = "alloc_layout_error", since = "1.50.0")]
 pub use self::layout::LayoutError;
 
-#[cfg(not(bootstrap))]
 use crate::error::Error;
 use crate::fmt;
 use crate::ptr::{self, NonNull};
@@ -34,7 +33,6 @@
 #[derive(Copy, Clone, PartialEq, Eq, Debug)]
 pub struct AllocError;
 
-#[cfg(not(bootstrap))]
 #[unstable(
     feature = "allocator_api",
     reason = "the precise API and guarantees it provides may be tweaked.",