From 97945d02b8ea7936d7b30142807999da53fec96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 13 Mar 2023 12:26:07 +0900 Subject: [PATCH] chore(ci): Fix CI (#7070) --- crates/string_enum/src/lib.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/string_enum/src/lib.rs b/crates/string_enum/src/lib.rs index a5d2efdd69b..ba32648a409 100644 --- a/crates/string_enum/src/lib.rs +++ b/crates/string_enum/src/lib.rs @@ -75,8 +75,12 @@ pub fn derive_string_enum(input: proc_macro::TokenStream) -> proc_macro::TokenSt make_serialize(&input).to_tokens(&mut tts); make_deserialize(&input).to_tokens(&mut tts); - derive_fmt(&input, quote_spanned!(call_site() => std::fmt::Debug)).to_tokens(&mut tts); - derive_fmt(&input, quote_spanned!(call_site() => std::fmt::Display)).to_tokens(&mut tts); + derive_fmt(&input, quote_spanned!(Span::call_site() => std::fmt::Debug)).to_tokens(&mut tts); + derive_fmt( + &input, + quote_spanned!(Span::call_site() => std::fmt::Display), + ) + .to_tokens(&mut tts); print("derive(StringEnum)", tts) }