summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/suggest-using-chars.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/suggest-using-chars.rs')
-rw-r--r--src/test/ui/suggestions/suggest-using-chars.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/suggestions/suggest-using-chars.rs b/src/test/ui/suggestions/suggest-using-chars.rs
deleted file mode 100644
index 95732881b..000000000
--- a/src/test/ui/suggestions/suggest-using-chars.rs
+++ /dev/null
@@ -1,7 +0,0 @@
-pub fn main() {
- let _ = "foo".iter(); //~ ERROR no method named `iter` found for reference `&'static str` in the current scope
- let _ = "foo".foo(); //~ ERROR no method named `foo` found for reference `&'static str` in the current scope
- let _ = String::from("bar").iter(); //~ ERROR no method named `iter` found for struct `String` in the current scope
- let _ = (&String::from("bar")).iter(); //~ ERROR no method named `iter` found for reference `&String` in the current scope
- let _ = 0.iter(); //~ ERROR no method named `iter` found for type `{integer}` in the current scope
-}