Skip to content

Commit 35fc578

Browse files
committed
Remove #[alloc_error_handler] from the compiler and library
1 parent dbf04a5 commit 35fc578

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/hir-def/src/builtin_attr.rs

-4
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,6 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
381381

382382
rustc_attr!(rustc_allocator, Normal, template!(Word), WarnFollowing, IMPL_DETAIL),
383383
rustc_attr!(rustc_nounwind, Normal, template!(Word), WarnFollowing, IMPL_DETAIL),
384-
gated!(
385-
alloc_error_handler, Normal, template!(Word), WarnFollowing,
386-
experimental!(alloc_error_handler)
387-
),
388384
gated!(
389385
default_lib_allocator, Normal, template!(Word), WarnFollowing, allocator_internals,
390386
experimental!(default_lib_allocator),

0 commit comments

Comments
 (0)