summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/too-many-parameters.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/generator/too-many-parameters.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/generator/too-many-parameters.rs b/tests/ui/generator/too-many-parameters.rs
deleted file mode 100644
index 7a353ea29..000000000
--- a/tests/ui/generator/too-many-parameters.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-#![feature(generators)]
-
-fn main() {
- |(), ()| {
- //~^ error: too many parameters for a generator
- yield;
- };
-}