about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/memleak.stderr
blob: 89db0f1eb16282f110cedc8f672d613c3f2729d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: memory leaked: ALLOC (Rust heap, size: 4, align: 4), allocated here:
  --> tests/fail/memleak.rs:LL:CC
   |
LL |     std::mem::forget(Box::new(42));
   |                      ^^^^^^^^^^^^
   |
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/memleak.rs:LL:CC

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

note: set `MIRIFLAGS=-Zmiri-ignore-leaks` to disable this check

error: aborting due to 1 previous error