mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 04:50:36 +00:00
Ignore clippy flagging our workaround
This commit is contained in:
parent
64573319f9
commit
6e01f220b1
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user