mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 22:58:02 +00:00
Ignore unused_parens warning on the proc macro workaround
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#![deny(trivial_numeric_casts)]
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
#[macro_use]
|
||||
|
||||
Reference in New Issue
Block a user