about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/string_extend.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/string_extend.rs')
-rw-r--r--src/tools/clippy/tests/ui/string_extend.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/string_extend.rs b/src/tools/clippy/tests/ui/string_extend.rs
index 41c0d29fae9..e2d54f47943 100644
--- a/src/tools/clippy/tests/ui/string_extend.rs
+++ b/src/tools/clippy/tests/ui/string_extend.rs
@@ -14,12 +14,15 @@ fn main() {
 
     s.push_str(abc);
     s.extend(abc.chars());
+    //~^ string_extend_chars
 
     s.push_str("abc");
     s.extend("abc".chars());
+    //~^ string_extend_chars
 
     s.push_str(&def);
     s.extend(def.chars());
+    //~^ string_extend_chars
 
     s.extend(abc.chars().skip(1));
     s.extend("abc".chars().skip(1));
@@ -30,4 +33,5 @@ fn main() {
 
     // issue #9735
     s.extend(abc[0..2].chars());
+    //~^ string_extend_chars
 }