diff --git a/opensmtpd-derive/src/lib.rs b/opensmtpd-derive/src/lib.rs index 72999d1..8c32abe 100644 --- a/opensmtpd-derive/src/lib.rs +++ b/opensmtpd-derive/src/lib.rs @@ -56,7 +56,7 @@ pub fn event(attr: TokenStream, input: TokenStream) -> TokenStream { let fn_params = &item.decl.inputs; let (ctx_type, callback_type) = match get_type(fn_params) { Ok(t) => t, - Err(_) => { + Err(_e) => { panic!(); } };