blob: 8f59aa8a31db5f457a921c676da1da94c19a7e3d [file]
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: 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