about summary refs log tree commit diff
path: root/library/std/tests/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/tests/thread.rs')
-rw-r--r--library/std/tests/thread.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/tests/thread.rs b/library/std/tests/thread.rs
index 29f220d8a70..dc8eadd7514 100644
--- a/library/std/tests/thread.rs
+++ b/library/std/tests/thread.rs
@@ -66,6 +66,8 @@ fn thread_local_hygeiene() {
     type Storage = ();
     type LazyStorage = ();
     type EagerStorage = ();
+    #[allow(non_camel_case_types)]
+    type usize = ();
     thread_local! {
         static A: LocalKey = const { () };
         static B: Storage = const { () };