chore(ci): Fix CI (#7070)

This commit is contained in:
Donny/강동윤 2023-03-13 12:26:07 +09:00 committed by GitHub
parent 45fba897c6
commit 97945d02b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}