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