about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/tls_static_leak.stderr
blob: 24306cca7ffdd5e0b855e9e963322195694b3c08 (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/tls_static_leak.rs:LL:CC
   |
LL |         TLS.set(Some(Box::leak(Box::new(123))));
   |                                ^^^^^^^^^^^^^
   |
   = note: BACKTRACE:
   = note: inside closure at tests/fail/tls_static_leak.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