From f5fcada5bacc3d1a99235974bdcc5c9e3f6289d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Thu, 21 Apr 2016 16:32:44 +0200 Subject: [PATCH] Getting rid of generated code warnings --- parity/hypervisor/mod.rs | 1 + parity/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/parity/hypervisor/mod.rs b/parity/hypervisor/mod.rs index 4b46a77c9..fbd807d94 100644 --- a/parity/hypervisor/mod.rs +++ b/parity/hypervisor/mod.rs @@ -18,6 +18,7 @@ // while not included in binary #![allow(dead_code)] +#![cfg_attr(feature="dev", allow(used_underscore_binding))] pub mod service; diff --git a/parity/main.rs b/parity/main.rs index 8311e82ca..b48017336 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -20,6 +20,7 @@ #![cfg_attr(feature="dev", feature(plugin))] #![cfg_attr(feature="dev", plugin(clippy))] #![cfg_attr(feature="dev", allow(useless_format))] + extern crate docopt; extern crate num_cpus; extern crate rustc_serialize;