summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/drop-tracking-yielding-in-match-guards.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/drop-tracking-yielding-in-match-guards.rs')
-rw-r--r--tests/ui/generator/drop-tracking-yielding-in-match-guards.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ui/generator/drop-tracking-yielding-in-match-guards.rs b/tests/ui/generator/drop-tracking-yielding-in-match-guards.rs
deleted file mode 100644
index 92e0136d5..000000000
--- a/tests/ui/generator/drop-tracking-yielding-in-match-guards.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// build-pass
-// edition:2018
-
-#![feature(generators)]
-
-fn main() {
- let _ = static |x: u8| match x {
- y if { yield } == y + 1 => (),
- _ => (),
- };
-}