diff options
Diffstat (limited to 'src/test/ui/borrowck/borrowck-reinit.rs')
-rw-r--r-- | src/test/ui/borrowck/borrowck-reinit.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/borrowck/borrowck-reinit.rs b/src/test/ui/borrowck/borrowck-reinit.rs deleted file mode 100644 index 866b3a2a8..000000000 --- a/src/test/ui/borrowck/borrowck-reinit.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn main() { - let mut x = Box::new(0); - let _u = x; // error shouldn't note this move - x = Box::new(1); - drop(x); - let _ = (1,x); //~ ERROR use of moved value: `x` -} |