Ignore clippy flagging our workaround

This commit is contained in:
David Tolnay 2018-01-13 14:28:12 -08:00
parent 64573319f9
commit 6e01f220b1
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
5 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,9 @@
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
// https://github.com/rust-lang/rust/issues/47311
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
#[macro_use]
extern crate serde_derive;

View File

@ -6,6 +6,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// https://github.com/rust-lang/rust/issues/47311
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
#[macro_use]
extern crate serde_derive;

View File

@ -13,6 +13,9 @@
#![deny(warnings)]
#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
// https://github.com/rust-lang/rust/issues/47311
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
#[macro_use]
extern crate serde_derive;

View File

@ -8,6 +8,9 @@
#![deny(trivial_numeric_casts)]
// https://github.com/rust-lang/rust/issues/47311
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
#[macro_use]
extern crate serde_derive;

View File

@ -6,6 +6,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// https://github.com/rust-lang/rust/issues/47311
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
#[macro_use]
extern crate serde_derive;