From e954412fd46d8ee1f51ebd694719b7efb1b7bab8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 8 Sep 2024 08:45:41 +0200 Subject: [PATCH] remove pointless rustc_const_unstable on trait impls --- core/src/ptr/alignment.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/ptr/alignment.rs b/core/src/ptr/alignment.rs index 19fe03d57cc0a..834cec9dcfc26 100644 --- a/core/src/ptr/alignment.rs +++ b/core/src/ptr/alignment.rs @@ -199,7 +199,6 @@ impl From for usize { } } -#[rustc_const_unstable(feature = "const_alloc_layout", issue = "67521")] #[unstable(feature = "ptr_alignment_type", issue = "102070")] impl cmp::Ord for Alignment { #[inline] @@ -208,7 +207,6 @@ impl cmp::Ord for Alignment { } } -#[rustc_const_unstable(feature = "const_alloc_layout", issue = "67521")] #[unstable(feature = "ptr_alignment_type", issue = "102070")] impl cmp::PartialOrd for Alignment { #[inline]