diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-lend-args.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-lend-args.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/borrowck/borrowck-lend-args.rs b/src/test/ui/borrowck/borrowck-lend-args.rs deleted file mode 100644 index d0ef2dcdd..000000000 --- a/src/test/ui/borrowck/borrowck-lend-args.rs +++ /dev/null @@ -1,21 +0,0 @@ -// run-pass -#![allow(dead_code)] - -// pretty-expanded FIXME #23616 - -fn borrow(_v: &isize) {} - -fn borrow_from_arg_imm_ref(v: Box<isize>) { - borrow(&*v); -} - -fn borrow_from_arg_mut_ref(v: &mut Box<isize>) { - borrow(&**v); -} - -fn borrow_from_arg_copy(v: Box<isize>) { - borrow(&*v); -} - -pub fn main() { -} |