summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/yield-in-function.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/generator/yield-in-function.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ui/generator/yield-in-function.rs b/tests/ui/generator/yield-in-function.rs
deleted file mode 100644
index 29b811621..000000000
--- a/tests/ui/generator/yield-in-function.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-#![feature(generators)]
-
-fn main() { yield; }
-//~^ ERROR yield expression outside