blob: 24306cca7ffdd5e0b855e9e963322195694b3c08 [file] [log] [blame]
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