diff options
Diffstat (limited to 'tests/thread_locals.rs')
-rw-r--r-- | tests/thread_locals.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thread_locals.rs b/tests/thread_locals.rs index effb6a1..fb4e577 100644 --- a/tests/thread_locals.rs +++ b/tests/thread_locals.rs @@ -1,6 +1,6 @@ //! Tests that make sure accessing thread-locals while exiting the thread doesn't cause panics. -#![cfg(not(miri))] // error: abnormal termination: the evaluated program aborted execution +#![cfg(not(miri))] // Miri detects that this test is buggy: the destructor of `FOO` uses `std::thread::current()`! use std::thread; use std::time::Duration; |