about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-31 19:21:44 +0000
committerbors <bors@rust-lang.org>2023-01-31 19:21:44 +0000
commit2880dccabb8244a59ae012e64dede719b173ce5a (patch)
tree1f06344b1a8d29a6720c37e0e1a74b72f702a969
parentb5a4fa1322fe7a8120a76ffcb4037f3adcfe19bc (diff)
parentb4e2b48270008b2c4fa84f4d6270e13a93f1ac14 (diff)
downloadrust-2880dccabb8244a59ae012e64dede719b173ce5a.tar.gz
rust-2880dccabb8244a59ae012e64dede719b173ce5a.zip
Auto merge of #10265 - Manishearth:uninlined-fmt-pedantic, r=Alexendoo
Mark uninlined_format_args as pedantic

Fixes https://github.com/rust-lang/rust-clippy/issues/10087

We should restore this when rust-analyzer support gets better. Worth filing an issue to track.

changelog: Mark [`uninlined_format_args`] as `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 ab05d4688cc..d6b02f174f9 100644
--- a/clippy_lints/src/format_args.rs
+++ b/clippy_lints/src/format_args.rs
@@ -125,7 +125,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"
 }