mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
chore(ci): Fix CI (#7070)
This commit is contained in:
parent
45fba897c6
commit
97945d02b8
@ -75,8 +75,12 @@ pub fn derive_string_enum(input: proc_macro::TokenStream) -> proc_macro::TokenSt
|
|||||||
make_serialize(&input).to_tokens(&mut tts);
|
make_serialize(&input).to_tokens(&mut tts);
|
||||||
make_deserialize(&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!(Span::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::Display),
|
||||||
|
)
|
||||||
|
.to_tokens(&mut tts);
|
||||||
|
|
||||||
print("derive(StringEnum)", tts)
|
print("derive(StringEnum)", tts)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user