| memory allocation of 4 bytes failed |
| error: abnormal termination: the program aborted execution |
| --> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC |
| | |
| LL | ABORT(); |
| | ^ the program aborted execution |
| | |
| = note: BACKTRACE: |
| = note: inside `std::sys::pal::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC |
| = note: inside `std::process::abort` at RUSTLIB/std/src/process.rs:LL:CC |
| = note: inside `std::alloc::rust_oom` at RUSTLIB/std/src/alloc.rs:LL:CC |
| = note: inside `std::alloc::_::__rg_oom` at RUSTLIB/std/src/alloc.rs:LL:CC |
| = note: inside `std::alloc::handle_alloc_error::rt_error` at RUSTLIB/alloc/src/alloc.rs:LL:CC |
| = note: inside `std::alloc::handle_alloc_error` at RUSTLIB/alloc/src/alloc.rs:LL:CC |
| note: inside `main` |
| --> tests/fail/alloc/alloc_error_handler.rs:LL:CC |
| | |
| LL | handle_alloc_error(Layout::for_value(&0)); |
| | ^ |
| |
| note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace |
| |
| error: aborting due to 1 previous error |
| |