From 8093b6348b89f68acb1866bacec3863ebb388cde Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Sun, 23 Apr 2023 17:56:06 +0100 Subject: [PATCH] Add tracking issue for `panic_oom_payload` This was missed in #109507. --- library/alloc/src/alloc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs index 0db23e55a8653..b433f7e8c9557 100644 --- a/library/alloc/src/alloc.rs +++ b/library/alloc/src/alloc.rs @@ -349,7 +349,7 @@ pub(crate) unsafe fn box_free(ptr: Unique, alloc: A) } /// Payload passed to the panic handler when `handle_alloc_error` is called. -#[unstable(feature = "panic_oom_payload", issue = "none")] +#[unstable(feature = "panic_oom_payload", issue = "110730")] #[derive(Debug)] pub struct AllocErrorPanicPayload { layout: Layout, @@ -364,7 +364,7 @@ impl AllocErrorPanicPayload { } /// Returns the [`Layout`] of the allocation attempt that caused the error. - #[unstable(feature = "panic_oom_payload", issue = "none")] + #[unstable(feature = "panic_oom_payload", issue = "110730")] pub fn layout(&self) -> Layout { self.layout }