about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/alloc/alloc_error_handler.stderr
blob: bbf5d14a98a1ebf4cd6a6ca68777a5a50456f68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
memory allocation of 4 bytes failed
error: abnormal termination: the program aborted execution
  --> RUSTLIB/std/src/alloc.rs:LL:CC
   |
LL |     crate::process::abort()
   |     ^^^^^^^^^^^^^^^^^^^^^^^ abnormal termination occurred here
   |
   = note: BACKTRACE:
   = 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