mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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:
@@ -34,7 +34,7 @@ macro_rules! declare_with_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)]
|
||||
|
||||
Reference in New Issue
Block a user