about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-03-10 14:28:28 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-03-10 14:36:51 +0000
commit5f7ca55df6a89e3caa3131a13490cc01956149e7 (patch)
treecc1b477b11cbe67e7d8995c864e8c2dfdd620cc9 /library/alloc/src
parent282778aee26166754315815552bae454fc968960 (diff)
downloadrust-5f7ca55df6a89e3caa3131a13490cc01956149e7.tar.gz
rust-5f7ca55df6a89e3caa3131a13490cc01956149e7.zip
Revert accidental stabilization
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/boxed.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index 68bf59a01b3..f753189c683 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -1170,8 +1170,7 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
 }
 
 #[stable(feature = "rust1", since = "1.0.0")]
-#[rustc_const_unstable(feature = "const_box", issue = "92521")]
-unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> const Drop for Box<T, A> {
+unsafe impl<#[may_dangle] T: ?Sized, A: Allocator> Drop for Box<T, A> {
     fn drop(&mut self) {
         // FIXME: Do nothing, drop is currently performed by compiler.
     }