From 14a34c2c619318a670ace9fb38d3a67ee9f0d323 Mon Sep 17 00:00:00 2001 From: dswijj Date: Thu, 27 Oct 2022 17:49:43 +0800 Subject: [PATCH] move `UNINLINED_FORMAT_ARGS` to pedantic --- clippy_lints/src/format_args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/format_args.rs b/clippy_lints/src/format_args.rs index 4c4a1e06c..a73453bf0 100644 --- a/clippy_lints/src/format_args.rs +++ b/clippy_lints/src/format_args.rs @@ -115,7 +115,7 @@ declare_clippy_lint! { /// nothing will be suggested, e.g. `println!("{0}={1}", var, 1+2)`. #[clippy::version = "1.65.0"] pub UNINLINED_FORMAT_ARGS, - style, + pedantic, "using non-inlined variables in `format!` calls" }