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 fb4e577..4639833 100644 --- a/tests/thread_locals.rs +++ b/tests/thread_locals.rs @@ -30,7 +30,7 @@ fn use_while_exiting() { } thread_local! { - static FOO: Foo = Foo; + static FOO: Foo = const { Foo }; } let (s, r) = unbounded::<()>(); |