diff options
Diffstat (limited to 'src/test/ui/generator/yield-outside-generator-issue-78653.rs')
-rw-r--r-- | src/test/ui/generator/yield-outside-generator-issue-78653.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/generator/yield-outside-generator-issue-78653.rs b/src/test/ui/generator/yield-outside-generator-issue-78653.rs deleted file mode 100644 index 4e8050c81..000000000 --- a/src/test/ui/generator/yield-outside-generator-issue-78653.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![feature(generators)] - -fn main() { - yield || for i in 0 { } - //~^ ERROR yield expression outside of generator literal - //~| ERROR `{integer}` is not an iterator -} |