From 13da17b51764dfb285d5febdbcdee24a2d6c4021 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Mon, 30 Mar 2020 22:49:15 +0200 Subject: Allow unused parens on generated code Since around Rust 1.40 the unused parens lint is more aggressive. Since all of these warnings are from generated code (effectively false positives), let's just silence the warnings. --- store/src/store_protocol_capnp.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'store') diff --git a/store/src/store_protocol_capnp.rs b/store/src/store_protocol_capnp.rs index aa6df043..77bf97a4 100644 --- a/store/src/store_protocol_capnp.rs +++ b/store/src/store_protocol_capnp.rs @@ -1,2 +1,3 @@ // Include the capnp-generated code. +#![allow(unused_parens)] include!(concat!(env!("OUT_DIR"), "/src/store_protocol_capnp.rs")); -- cgit v1.2.3