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