We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7170b0 commit f0ad533Copy full SHA for f0ad533
src/liballoc/heap.rs
@@ -228,14 +228,6 @@ unsafe impl Alloc for Heap {
228
}
229
230
231
-/// An arbitrary non-null address to represent zero-size allocations.
232
-///
233
-/// This preserves the non-null invariant for types like `Box<T>`. The address
234
-/// may overlap with non-zero-size memory allocations.
235
-#[rustc_deprecated(since = "1.19.0", reason = "Use Unique/NonNull::empty() instead")]
236
-#[unstable(feature = "heap_api", issue = "27700")]
237
-pub const EMPTY: *mut () = 1 as *mut ();
238
-
239
/// The allocator for unique pointers.
240
// This function must not unwind. If it does, MIR trans will fail.
241
#[cfg(not(test))]
0 commit comments