about summary refs log tree commit diff
diff options
context:
space:
mode:
authordswij <dharmasw@outlook.com>2025-07-16 15:50:38 +0000
committerGitHub <noreply@github.com>2025-07-16 15:50:38 +0000
commit2a4c83dcc19d05a6ac2cd5cdc2c3e30d60163619 (patch)
tree455755ebeb8fc3aab46ce2e1b81fad404abec78e
parent786330e02c37d3e9c351852ffc37b43c3d5e9bbf (diff)
parent32263f5fe173335fcd655443099ca3dd16388515 (diff)
downloadrust-2a4c83dcc19d05a6ac2cd5cdc2c3e30d60163619.tar.gz
rust-2a4c83dcc19d05a6ac2cd5cdc2c3e30d60163619.zip
Move `uninlined_format_args` to `pedantic` (#15287)
Fixes https://github.com/rust-lang/rust-clippy/issues/15151

See also
https://rust-lang.zulipchat.com/#narrow/channel/257328-clippy/topic/uninlined_format_args.20is.20contentious/

changelog: Move [`uninlined_format_args`] to `pedantic`
-rw-r--r--clippy_lints/src/format_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/format_args.rs b/clippy_lints/src/format_args.rs
index 138fab9c639..312966745b0 100644
--- a/clippy_lints/src/format_args.rs
+++ b/clippy_lints/src/format_args.rs
@@ -165,7 +165,7 @@ declare_clippy_lint! {
     /// nothing will be suggested, e.g. `println!("{0}={1}", var, 1+2)`.
     #[clippy::version = "1.66.0"]
     pub UNINLINED_FORMAT_ARGS,
-    style,
+    pedantic,
     "using non-inlined variables in `format!` calls"
 }