about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2023-03-22 23:43:20 +0000
committerAmanieu d'Antras <amanieu@gmail.com>2023-04-16 08:35:50 -0700
commit35fc5780a7e8babca6464b314400c590fd430039 (patch)
tree25ea9cbc5c8e32a5993898cd4d53de8a651324bb
parentdbf04a5ee29101afbd1db665369bb1d21224efb5 (diff)
Remove #[alloc_error_handler] from the compiler and library
-rw-r--r--crates/hir-def/src/builtin_attr.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/hir-def/src/builtin_attr.rs b/crates/hir-def/src/builtin_attr.rs
index f7c1e683d0d..e3e5fac98c0 100644
--- a/crates/hir-def/src/builtin_attr.rs
+++ b/crates/hir-def/src/builtin_attr.rs
@@ -382,10 +382,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
     rustc_attr!(rustc_allocator, Normal, template!(Word), WarnFollowing, IMPL_DETAIL),
     rustc_attr!(rustc_nounwind, Normal, template!(Word), WarnFollowing, IMPL_DETAIL),
     gated!(
-        alloc_error_handler, Normal, template!(Word), WarnFollowing,
-        experimental!(alloc_error_handler)
-    ),
-    gated!(
         default_lib_allocator, Normal, template!(Word), WarnFollowing, allocator_internals,
         experimental!(default_lib_allocator),
     ),