#[alloc_error_handler]
alloc_error_handler #51540)
Attribute macro applied to a function to register it as a handler for allocation failure.
See also std::alloc::handle_alloc_error.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/prelude/v1/attr.alloc_error_handler.html