about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-array-double-move.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-array-double-move.rs')
-rw-r--r--src/test/compile-fail/borrowck-array-double-move.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/borrowck-array-double-move.rs b/src/test/compile-fail/borrowck-array-double-move.rs
index ef2c629acfe..ac9ddc2ce65 100644
--- a/src/test/compile-fail/borrowck-array-double-move.rs
+++ b/src/test/compile-fail/borrowck-array-double-move.rs
@@ -12,9 +12,9 @@
 #![feature(box_syntax)]
 
 fn f() {
-    let mut a = [box 0i, box 1i];
+    let mut a = [box 0is, box 1is];
     drop(a[0]);
-    a[1] = box 2i;
+    a[1] = box 2is;
     drop(a[0]); //~ ERROR use of moved value: `a[..]`
 }