diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-move-by-capture-ok.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-move-by-capture-ok.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/borrowck/borrowck-move-by-capture-ok.rs b/src/test/ui/borrowck/borrowck-move-by-capture-ok.rs deleted file mode 100644 index e7a48ebf6..000000000 --- a/src/test/ui/borrowck/borrowck-move-by-capture-ok.rs +++ /dev/null @@ -1,7 +0,0 @@ -// run-pass - -pub fn main() { - let bar: Box<_> = Box::new(3); - let h = || -> isize { *bar }; - assert_eq!(h(), 3); -} |