diff options
| author | Catherine Flores <catherine.3.flores@gmail.com> | 2025-01-10 21:14:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-10 21:14:40 +0000 |
| commit | ab55d3fc62c091fbc4b4273347aa8532976741e3 (patch) | |
| tree | 349bf08d7029d20fd3888e6197ad5f403e17f021 | |
| parent | 64250a3360e1e7def841902bf5dd7eb482884a9c (diff) | |
| parent | db4aac6d21b0827aa0401b8ac31b34a9cf859f30 (diff) | |
| download | rust-ab55d3fc62c091fbc4b4273347aa8532976741e3.tar.gz rust-ab55d3fc62c091fbc4b4273347aa8532976741e3.zip | |
Correct version of `literal_string_with_formatting_args` (#13974)
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. changelog: none
| -rw-r--r-- | clippy_lints/src/literal_string_with_formatting_args.rs | 2 |
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" |
