mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
Ignore clippy flagging our workaround
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user