mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
fix compiler_error!
invocations
This commit is contained in:
parent
f13e3b6e4a
commit
66ee68c13b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ pub(crate) fn compile_error<T>(data: T) -> Error
|
||||||
where
|
where
|
||||||
T: ToTokens,
|
T: ToTokens,
|
||||||
{
|
{
|
||||||
Error(TokenStream::from(quote! { compile_error!(#data) }))
|
Error(TokenStream::from(quote! { compile_error! { #data } }))
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<Error> for proc_macro::TokenStream {
|
impl From<Error> for proc_macro::TokenStream {
|
||||||
|
|
Loading…
Reference in a new issue