Macro kvarn::prelude::internals::prelude::utils::prelude::compact_str::core::prelude::rust_2024::alloc_error_handler
source · pub macro alloc_error_handler($item:item) { ... }
🔬This is a nightly-only experimental API. (
alloc_error_handler
)Available on non-crate feature
miri-test-libstd
only.Expand description
Attribute macro applied to a function to register it as a handler for allocation failure.
See also std::alloc::handle_alloc_error
.