diff options
Diffstat (limited to 'tests/ui/generator/issue-48048.rs')
-rw-r--r-- | tests/ui/generator/issue-48048.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/ui/generator/issue-48048.rs b/tests/ui/generator/issue-48048.rs deleted file mode 100644 index 992bbc97a..000000000 --- a/tests/ui/generator/issue-48048.rs +++ /dev/null @@ -1,13 +0,0 @@ -#![feature(generators)] - -fn main() { - let x = (|_| {},); - - || { - let x = x; - - x.0({ //~ ERROR borrow may still be in use when generator yields - yield; - }); - }; -} |