Fix compile error due to attempting to derive incorrect trait
This commit is contained in:
parent
a5c975d113
commit
62282eacd5
@ -352,7 +352,7 @@ fn derive_protocol(input: proc_macro2::TokenStream) -> proc_macro2::TokenStream
|
||||
|
||||
// Create an error and result type for sending messages
|
||||
let error_enum = quote! {
|
||||
#[derive(::std::fmt::Debug, ::std::clone::Clone, ::std::fmt::Display, ::thiserror::Error)]
|
||||
#[derive(::std::fmt::Debug, ::std::clone::Clone, ::thiserror::Error)]
|
||||
#vis enum #error_enum_name {
|
||||
#[error("Failed to send query: {0}")]
|
||||
SendError(::tokio::sync::mpsc::error::SendError<(u64, #question_enum_name)>),
|
||||
|
Loading…
Reference in New Issue
Block a user