about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-01-19 11:58:32 +0000
committerGitHub <noreply@github.com>2025-01-19 11:58:32 +0000
commite692cd4b304a954829d5c855eb6a5bbd4ece51f2 (patch)
tree3176722feaad14ce11168b51f8b217ba5f36d121
parent2220806d691b09d309062d339f065f58b70cf369 (diff)
parentfbf66310c1ac3869ca4d3628191908697bbd6c96 (diff)
downloadrust-e692cd4b304a954829d5c855eb6a5bbd4ece51f2.tar.gz
rust-e692cd4b304a954829d5c855eb6a5bbd4ece51f2.zip
change `literal_string_with_formatting_args` lint category to nursery (#14014)
This PR changes literal_string_with_formatting_args category from
`suspicious` to `nursery` since there are thousands of false positive on
GitHub.

Closes #13989 since it's no longer problematic with such false positive
with ~~`pedantic`~~ `nursery` category.

changelog: [`literal_string_with_formatting_args` ] change category to
`nursery` from `suspicious`
-rw-r--r--clippy_lints/src/literal_string_with_formatting_args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/literal_string_with_formatting_args.rs b/clippy_lints/src/literal_string_with_formatting_args.rs
index d9de784873b..a957c0e22a2 100644
--- a/clippy_lints/src/literal_string_with_formatting_args.rs
+++ b/clippy_lints/src/literal_string_with_formatting_args.rs
@@ -31,7 +31,7 @@ declare_clippy_lint! {
     /// ```
     #[clippy::version = "1.85.0"]
     pub LITERAL_STRING_WITH_FORMATTING_ARGS,
-    suspicious,
+    nursery,
     "Checks if string literals have formatting arguments"
 }