summaryrefslogtreecommitdiff
path: root/dhall_proc_macros/src
diff options
context:
space:
mode:
authorNadrieril2019-12-13 12:38:46 +0000
committerNadrieril2019-12-13 12:38:46 +0000
commit3f00e4ca3fe22f88a1d0633e254df0bff781c6d3 (patch)
tree238607a2ed75e0ab753697dc81c33e15522556cc /dhall_proc_macros/src
parentf92cb5a0750e46a969b0fb9f97c3c69b9708cc92 (diff)
Silence a macro-generated warning
Diffstat (limited to 'dhall_proc_macros/src')
-rw-r--r--dhall_proc_macros/src/derive.rs1
1 files changed, 1 insertions, 0 deletions
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 {