diff --git a/test_suite/no_std/src/main.rs b/test_suite/no_std/src/main.rs index 4e817362..f0737937 100644 --- a/test_suite/no_std/src/main.rs +++ b/test_suite/no_std/src/main.rs @@ -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; diff --git a/test_suite/tests/test_annotations.rs b/test_suite/tests/test_annotations.rs index 80a46aa1..8bbda0fa 100644 --- a/test_suite/tests/test_annotations.rs +++ b/test_suite/tests/test_annotations.rs @@ -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] diff --git a/test_suite/tests/test_de.rs b/test_suite/tests/test_de.rs index 5f477905..8f4e696a 100644 --- a/test_suite/tests/test_de.rs +++ b/test_suite/tests/test_de.rs @@ -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] diff --git a/test_suite/tests/test_gen.rs b/test_suite/tests/test_gen.rs index 57125f63..2e3cab4a 100644 --- a/test_suite/tests/test_gen.rs +++ b/test_suite/tests/test_gen.rs @@ -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] diff --git a/test_suite/tests/test_macros.rs b/test_suite/tests/test_macros.rs index b9b4db20..53f8f70c 100644 --- a/test_suite/tests/test_macros.rs +++ b/test_suite/tests/test_macros.rs @@ -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] diff --git a/test_suite/tests/test_remote.rs b/test_suite/tests/test_remote.rs index 56753a87..5ea9c0dc 100644 --- a/test_suite/tests/test_remote.rs +++ b/test_suite/tests/test_remote.rs @@ -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]