summaryrefslogtreecommitdiffstats
path: root/tests/ui/threads-sendsync/issue-43733-2.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/threads-sendsync/issue-43733-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/threads-sendsync/issue-43733-2.rs b/tests/ui/threads-sendsync/issue-43733-2.rs
index 32baeec43..8f7a9c083 100644
--- a/tests/ui/threads-sendsync/issue-43733-2.rs
+++ b/tests/ui/threads-sendsync/issue-43733-2.rs
@@ -21,7 +21,7 @@ impl<T> Key<T> {
}
#[cfg(target_thread_local)]
-use std::thread::__FastLocalKeyInner as Key;
+use std::thread::__LocalKeyInner as Key;
static __KEY: Key<()> = Key::new();
//~^ ERROR `UnsafeCell<Option<()>>` cannot be shared between threads