From 3f00e4ca3fe22f88a1d0633e254df0bff781c6d3 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 13 Dec 2019 12:38:46 +0000 Subject: Silence a macro-generated warning --- dhall_proc_macros/src/derive.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dhall_proc_macros') diff --git a/dhall_proc_macros/src/derive.rs b/dhall_proc_macros/src/derive.rs index 140ff20..48626a0 100644 --- a/dhall_proc_macros/src/derive.rs +++ b/dhall_proc_macros/src/derive.rs @@ -160,6 +160,7 @@ pub fn derive_static_type_inner( let ident = &input.ident; let tokens = quote! { + #[allow(unused_parens)] impl #impl_generics ::serde_dhall::StaticType for #ident #ty_generics #where_clause { -- cgit v1.2.3