| memory allocation of 4 bytes failed | |
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
| note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect | |
| error: abnormal termination: the program aborted execution | |
| --> RUSTLIB/std/src/alloc.rs:LL:CC | |
| | | |
| LL | crate::process::abort() | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ abnormal termination occurred here | |
| | | |
| = note: stack backtrace: | |
| 0: std::alloc::rust_oom::{closure#0} | |
| at RUSTLIB/std/src/alloc.rs:LL:CC | |
| 1: std::sys::backtrace::__rust_end_short_backtrace::<{closure@std::alloc::rust_oom::{closure#0}}, !> | |
| at RUSTLIB/std/src/sys/backtrace.rs:LL:CC | |
| 2: std::alloc::rust_oom | |
| at RUSTLIB/std/src/alloc.rs:LL:CC | |
| 3: std::alloc::_::__rust_alloc_error_handler | |
| at RUSTLIB/std/src/alloc.rs:LL:CC | |
| 4: std::alloc::handle_alloc_error::rt_error | |
| at RUSTLIB/alloc/src/alloc.rs:LL:CC | |
| 5: std::alloc::handle_alloc_error | |
| at RUSTLIB/alloc/src/alloc.rs:LL:CC | |
| 6: main | |
| at tests/fail/alloc/alloc_error_handler.rs:LL:CC | |
| note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace | |
| error: aborting due to 1 previous error | |