core::prelude::rust_2024

Attribute Macro alloc_error_handler

1.38.0 ยท source
#[alloc_error_handler]
Expand description

Attribute macro applied to a function to register it as a handler for allocation failure.

See also std::alloc::handle_alloc_error.