diff options
Diffstat (limited to 'src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.rs')
-rw-r--r-- | src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.rs b/src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.rs deleted file mode 100644 index f1fd1b507..000000000 --- a/src/test/ui/borrowck/issue-53432-nested-closure-outlives-borrowed-value.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn main() { - let f = move || {}; - let _action = move || { - || f() // The `nested` closure - //~^ ERROR lifetime may not live long enough - }; -} |