about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed2
-rw-r--r--tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs2
-rw-r--r--tests/ui/author/macro_in_closure.rs1
-rw-r--r--tests/ui/author/macro_in_loop.rs1
-rw-r--r--tests/ui/dbg_macro/dbg_macro.fixed2
-rw-r--r--tests/ui/dbg_macro/dbg_macro.rs2
-rw-r--r--tests/ui/large_futures.fixed2
-rw-r--r--tests/ui/large_futures.rs2
-rw-r--r--tests/ui/manual_inspect.fixed2
-rw-r--r--tests/ui/manual_inspect.rs2
-rw-r--r--tests/ui/needless_pass_by_ref_mut.rs4
-rw-r--r--tests/ui/to_string_in_format_args_incremental.fixed2
-rw-r--r--tests/ui/to_string_in_format_args_incremental.rs2
-rw-r--r--tests/ui/unnecessary_iter_cloned.fixed2
-rw-r--r--tests/ui/unnecessary_iter_cloned.rs2
-rw-r--r--tests/ui/unnecessary_operation.fixed2
-rw-r--r--tests/ui/unnecessary_operation.rs2
-rw-r--r--tests/ui/unnecessary_to_owned.fixed2
-rw-r--r--tests/ui/unnecessary_to_owned.rs2
19 files changed, 20 insertions, 18 deletions
diff --git a/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed b/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed
index 36540bf1dcf..2d5900094ee 100644
--- a/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed
+++ b/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.fixed
@@ -1,5 +1,5 @@
 #![deny(clippy::index_refutable_slice)]
-
+#![allow(clippy::uninlined_format_args)]
 fn below_limit() {
     let slice: Option<&[u32]> = Some(&[1, 2, 3]);
     if let Some([_, _, _, _, _, _, _, slice_7, ..]) = slice {
diff --git a/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs b/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs
index da76bb20fd9..94bd99a452f 100644
--- a/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs
+++ b/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs
@@ -1,5 +1,5 @@
 #![deny(clippy::index_refutable_slice)]
-
+#![allow(clippy::uninlined_format_args)]
 fn below_limit() {
     let slice: Option<&[u32]> = Some(&[1, 2, 3]);
     if let Some(slice) = slice {
diff --git a/tests/ui/author/macro_in_closure.rs b/tests/ui/author/macro_in_closure.rs
index 8a02f38fad8..b6d8e7ecbdd 100644
--- a/tests/ui/author/macro_in_closure.rs
+++ b/tests/ui/author/macro_in_closure.rs
@@ -1,4 +1,5 @@
 //@ check-pass
+#![allow(clippy::uninlined_format_args)]
 
 fn main() {
     #[clippy::author]
diff --git a/tests/ui/author/macro_in_loop.rs b/tests/ui/author/macro_in_loop.rs
index 84ffe416e83..f68275fefaa 100644
--- a/tests/ui/author/macro_in_loop.rs
+++ b/tests/ui/author/macro_in_loop.rs
@@ -1,6 +1,7 @@
 //@ check-pass
 
 #![feature(stmt_expr_attributes)]
+#![allow(clippy::uninlined_format_args)]
 
 fn main() {
     #[clippy::author]
diff --git a/tests/ui/dbg_macro/dbg_macro.fixed b/tests/ui/dbg_macro/dbg_macro.fixed
index fd1a0d8934b..8765035e398 100644
--- a/tests/ui/dbg_macro/dbg_macro.fixed
+++ b/tests/ui/dbg_macro/dbg_macro.fixed
@@ -1,6 +1,6 @@
 #![warn(clippy::dbg_macro)]
 #![allow(clippy::unnecessary_operation, clippy::no_effect, clippy::unit_arg)]
-
+#![allow(clippy::uninlined_format_args)]
 fn foo(n: u32) -> u32 {
     if let Some(n) = n.checked_sub(4) { n } else { n }
     //~^ dbg_macro
diff --git a/tests/ui/dbg_macro/dbg_macro.rs b/tests/ui/dbg_macro/dbg_macro.rs
index c96e2c7251c..301f17db316 100644
--- a/tests/ui/dbg_macro/dbg_macro.rs
+++ b/tests/ui/dbg_macro/dbg_macro.rs
@@ -1,6 +1,6 @@
 #![warn(clippy::dbg_macro)]
 #![allow(clippy::unnecessary_operation, clippy::no_effect, clippy::unit_arg)]
-
+#![allow(clippy::uninlined_format_args)]
 fn foo(n: u32) -> u32 {
     if let Some(n) = dbg!(n.checked_sub(4)) { n } else { n }
     //~^ dbg_macro
diff --git a/tests/ui/large_futures.fixed b/tests/ui/large_futures.fixed
index c2159c58de1..6b2acaa9ff1 100644
--- a/tests/ui/large_futures.fixed
+++ b/tests/ui/large_futures.fixed
@@ -1,7 +1,7 @@
 #![warn(clippy::large_futures)]
 #![allow(clippy::never_loop)]
 #![allow(clippy::future_not_send)]
-#![allow(clippy::manual_async_fn)]
+#![allow(clippy::manual_async_fn, clippy::uninlined_format_args)]
 
 async fn big_fut(_arg: [u8; 1024 * 16]) {}
 
diff --git a/tests/ui/large_futures.rs b/tests/ui/large_futures.rs
index 567f6344afe..6bf1fb87727 100644
--- a/tests/ui/large_futures.rs
+++ b/tests/ui/large_futures.rs
@@ -1,7 +1,7 @@
 #![warn(clippy::large_futures)]
 #![allow(clippy::never_loop)]
 #![allow(clippy::future_not_send)]
-#![allow(clippy::manual_async_fn)]
+#![allow(clippy::manual_async_fn, clippy::uninlined_format_args)]
 
 async fn big_fut(_arg: [u8; 1024 * 16]) {}
 
diff --git a/tests/ui/manual_inspect.fixed b/tests/ui/manual_inspect.fixed
index 44f15d61f85..1a722cef434 100644
--- a/tests/ui/manual_inspect.fixed
+++ b/tests/ui/manual_inspect.fixed
@@ -1,5 +1,5 @@
 #![warn(clippy::manual_inspect)]
-#![allow(clippy::no_effect, clippy::op_ref)]
+#![allow(clippy::no_effect, clippy::op_ref, clippy::uninlined_format_args)]
 
 fn main() {
     let _ = Some(0).inspect(|&x| {
diff --git a/tests/ui/manual_inspect.rs b/tests/ui/manual_inspect.rs
index d34f2abce6a..eaf6b9fa0ed 100644
--- a/tests/ui/manual_inspect.rs
+++ b/tests/ui/manual_inspect.rs
@@ -1,5 +1,5 @@
 #![warn(clippy::manual_inspect)]
-#![allow(clippy::no_effect, clippy::op_ref)]
+#![allow(clippy::no_effect, clippy::op_ref, clippy::uninlined_format_args)]
 
 fn main() {
     let _ = Some(0).map(|x| {
diff --git a/tests/ui/needless_pass_by_ref_mut.rs b/tests/ui/needless_pass_by_ref_mut.rs
index f0c5a716ac9..18cca14701f 100644
--- a/tests/ui/needless_pass_by_ref_mut.rs
+++ b/tests/ui/needless_pass_by_ref_mut.rs
@@ -1,13 +1,13 @@
 #![allow(
     clippy::if_same_then_else,
     clippy::no_effect,
+    clippy::ptr_arg,
     clippy::redundant_closure_call,
-    clippy::ptr_arg
+    clippy::uninlined_format_args
 )]
 #![warn(clippy::needless_pass_by_ref_mut)]
 //@no-rustfix
 use std::ptr::NonNull;
-
 fn foo(s: &mut Vec<u32>, b: &u32, x: &mut u32) {
     //~^ needless_pass_by_ref_mut
 
diff --git a/tests/ui/to_string_in_format_args_incremental.fixed b/tests/ui/to_string_in_format_args_incremental.fixed
index 2a29580e390..32efc2b5eba 100644
--- a/tests/ui/to_string_in_format_args_incremental.fixed
+++ b/tests/ui/to_string_in_format_args_incremental.fixed
@@ -1,5 +1,5 @@
 //@compile-flags: -C incremental=target/debug/test/incr
-
+#![allow(clippy::uninlined_format_args)]
 // see https://github.com/rust-lang/rust-clippy/issues/10969
 
 fn main() {
diff --git a/tests/ui/to_string_in_format_args_incremental.rs b/tests/ui/to_string_in_format_args_incremental.rs
index 18ca82976a4..197685fb0d7 100644
--- a/tests/ui/to_string_in_format_args_incremental.rs
+++ b/tests/ui/to_string_in_format_args_incremental.rs
@@ -1,5 +1,5 @@
 //@compile-flags: -C incremental=target/debug/test/incr
-
+#![allow(clippy::uninlined_format_args)]
 // see https://github.com/rust-lang/rust-clippy/issues/10969
 
 fn main() {
diff --git a/tests/ui/unnecessary_iter_cloned.fixed b/tests/ui/unnecessary_iter_cloned.fixed
index aed2dbe1f1c..61f2e3745ad 100644
--- a/tests/ui/unnecessary_iter_cloned.fixed
+++ b/tests/ui/unnecessary_iter_cloned.fixed
@@ -1,4 +1,4 @@
-#![allow(unused_assignments)]
+#![allow(unused_assignments, clippy::uninlined_format_args)]
 #![warn(clippy::unnecessary_to_owned)]
 
 #[allow(dead_code)]
diff --git a/tests/ui/unnecessary_iter_cloned.rs b/tests/ui/unnecessary_iter_cloned.rs
index 12fdd150e42..b90ca00a5fe 100644
--- a/tests/ui/unnecessary_iter_cloned.rs
+++ b/tests/ui/unnecessary_iter_cloned.rs
@@ -1,4 +1,4 @@
-#![allow(unused_assignments)]
+#![allow(unused_assignments, clippy::uninlined_format_args)]
 #![warn(clippy::unnecessary_to_owned)]
 
 #[allow(dead_code)]
diff --git a/tests/ui/unnecessary_operation.fixed b/tests/ui/unnecessary_operation.fixed
index 05dfb72f48d..b632c200b2a 100644
--- a/tests/ui/unnecessary_operation.fixed
+++ b/tests/ui/unnecessary_operation.fixed
@@ -6,7 +6,7 @@
     clippy::unnecessary_struct_initialization
 )]
 #![warn(clippy::unnecessary_operation)]
-
+#![allow(clippy::uninlined_format_args)]
 use std::fmt::Display;
 use std::ops::Shl;
 
diff --git a/tests/ui/unnecessary_operation.rs b/tests/ui/unnecessary_operation.rs
index 6ef74c3eb1c..3e34b46185e 100644
--- a/tests/ui/unnecessary_operation.rs
+++ b/tests/ui/unnecessary_operation.rs
@@ -6,7 +6,7 @@
     clippy::unnecessary_struct_initialization
 )]
 #![warn(clippy::unnecessary_operation)]
-
+#![allow(clippy::uninlined_format_args)]
 use std::fmt::Display;
 use std::ops::Shl;
 
diff --git a/tests/ui/unnecessary_to_owned.fixed b/tests/ui/unnecessary_to_owned.fixed
index 5410033dbd8..498dab3eb50 100644
--- a/tests/ui/unnecessary_to_owned.fixed
+++ b/tests/ui/unnecessary_to_owned.fixed
@@ -7,7 +7,7 @@
     clippy::owned_cow
 )]
 #![warn(clippy::unnecessary_to_owned, clippy::redundant_clone)]
-
+#![allow(clippy::uninlined_format_args)]
 use std::borrow::Cow;
 use std::ffi::{CStr, CString, OsStr, OsString};
 use std::ops::Deref;
diff --git a/tests/ui/unnecessary_to_owned.rs b/tests/ui/unnecessary_to_owned.rs
index 0619dd4ddec..b9d613c3a05 100644
--- a/tests/ui/unnecessary_to_owned.rs
+++ b/tests/ui/unnecessary_to_owned.rs
@@ -7,7 +7,7 @@
     clippy::owned_cow
 )]
 #![warn(clippy::unnecessary_to_owned, clippy::redundant_clone)]
-
+#![allow(clippy::uninlined_format_args)]
 use std::borrow::Cow;
 use std::ffi::{CStr, CString, OsStr, OsString};
 use std::ops::Deref;