about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/string_to_string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/string_to_string.rs')
-rw-r--r--src/tools/clippy/tests/ui/string_to_string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/ui/string_to_string.rs b/src/tools/clippy/tests/ui/string_to_string.rs
index 007685b6017..94174e1253b 100644
--- a/src/tools/clippy/tests/ui/string_to_string.rs
+++ b/src/tools/clippy/tests/ui/string_to_string.rs
@@ -4,5 +4,5 @@
 fn main() {
     let mut message = String::from("Hello");
     let mut v = message.to_string();
-    //~^ ERROR: `to_string()` called on a `String`
+    //~^ string_to_string
 }