Ignore unused_parens warning on the proc macro workaround
This commit is contained in:
parent
59017aa19b
commit
1bdf5ecec4
@ -10,6 +10,7 @@
|
||||
#![no_std]
|
||||
|
||||
// https://github.com/rust-lang/rust/issues/47311
|
||||
#![allow(unused_parens)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(double_parens))]
|
||||
|
||||
extern crate libc;
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user