Fix typo in deprecated lint string_to_string message (#16208)
Closes: rust-lang/rust-clippy#16204 ---- changelog: Fix typo in deprecated lint `string_to_string` message
This commit is contained in:
commit
0cf51b1b73
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ declare_with_version! { DEPRECATED(DEPRECATED_VERSION) = [
|
|||
#[clippy::version = "pre 1.29.0"]
|
||||
("clippy::should_assert_eq", "`assert!(a == b)` can now print the values the same way `assert_eq!(a, b) can"),
|
||||
#[clippy::version = "1.91.0"]
|
||||
("clippy::string_to_string", "`clippy:implicit_clone` covers those cases"),
|
||||
("clippy::string_to_string", "`clippy::implicit_clone` covers those cases"),
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
("clippy::unsafe_vector_initialization", "the suggested alternative could be substantially slower"),
|
||||
#[clippy::version = "pre 1.29.0"]
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ error: lint `clippy::should_assert_eq` has been removed: `assert!(a == b)` can n
|
|||
LL | #![warn(clippy::should_assert_eq)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: lint `clippy::string_to_string` has been removed: `clippy:implicit_clone` covers those cases
|
||||
error: lint `clippy::string_to_string` has been removed: `clippy::implicit_clone` covers those cases
|
||||
--> tests/ui/deprecated.rs:15:9
|
||||
|
|
||||
LL | #![warn(clippy::string_to_string)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue