about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2025-01-09 11:33:48 -0800
committerGitHub <noreply@github.com>2025-01-09 11:33:48 -0800
commitdb4aac6d21b0827aa0401b8ac31b34a9cf859f30 (patch)
tree78a5c12b39878e70fb7f0ce6514c3e37c6d8c451
parent19e305bb57a7595f2a8d81f521c0dd8bf854e739 (diff)
downloadrust-db4aac6d21b0827aa0401b8ac31b34a9cf859f30.tar.gz
rust-db4aac6d21b0827aa0401b8ac31b34a9cf859f30.zip
Correct version of `literal_string_with_formatting_args`
It claims to be in 1.83 but in fact will not be until 1.85.

Evidence: <https://github.com/rust-lang/rust/pull/134788> is where it was merged into rust-lang/rust, and has a milestone of 1.85.
-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 49353a1b76b..d9de784873b 100644
--- a/clippy_lints/src/literal_string_with_formatting_args.rs
+++ b/clippy_lints/src/literal_string_with_formatting_args.rs
@@ -29,7 +29,7 @@ declare_clippy_lint! {
     /// let y = "hello";
     /// x.expect(&format!("{y:?}"));
     /// ```
-    #[clippy::version = "1.83.0"]
+    #[clippy::version = "1.85.0"]
     pub LITERAL_STRING_WITH_FORMATTING_ARGS,
     suspicious,
     "Checks if string literals have formatting arguments"