From 92738294eed5e83455aa5c9ccf547b26d6b4f3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20CORTIER?= Date: Fri, 15 Dec 2023 23:39:02 -0500 Subject: [PATCH] fix(derive): uniformize imports defined in core --- derive/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/derive/src/lib.rs b/derive/src/lib.rs index 886bb49..23fbb93 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -55,9 +55,9 @@ fn expand_derive_arbitrary(input: syn::DeriveInput) -> Result { Ok(quote! { const _: () = { - std::thread_local! { + ::std::thread_local! { #[allow(non_upper_case_globals)] - static #recursive_count: std::cell::Cell = std::cell::Cell::new(0); + static #recursive_count: ::core::cell::Cell = ::core::cell::Cell::new(0); } #[automatically_derived]