diff --git a/src/test/compile-fail/issue-43733.rs b/src/test/compile-fail/issue-43733.rs index 0ae4cafa88b669acb724738a7e4ab62ae22a756e..90ccc589b4ea7378667a788541a1285349209a00 100644 --- a/src/test/compile-fail/issue-43733.rs +++ b/src/test/compile-fail/issue-43733.rs @@ -9,15 +9,15 @@ // except according to those terms. #![feature(const_fn)] +#![feature(thread_local)] #![feature(cfg_target_thread_local, thread_local_internals)] type Foo = std::cell::RefCell; #[cfg(target_thread_local)] +#[thread_local] static __KEY: std::thread::__FastLocalKeyInner = std::thread::__FastLocalKeyInner::new(); -//~^^ ERROR Sync` is not satisfied -//~^^^ ERROR Sync` is not satisfied #[cfg(not(target_thread_local))] static __KEY: std::thread::__OsLocalKeyInner =