Typo
This commit is contained in:
parent
8d92e09858
commit
f8e3651517
@ -10,7 +10,7 @@ pub fn expend_derive_from_query_result(ident: Ident, data: Data) -> syn::Result<
|
|||||||
}) => named.named,
|
}) => named.named,
|
||||||
_ => {
|
_ => {
|
||||||
return Ok(quote_spanned! {
|
return Ok(quote_spanned! {
|
||||||
ident.span() => compile_error!("you can only derive DeriveModel on structs");
|
ident.span() => compile_error!("you can only derive FromQueryResult on structs");
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user