about summary refs log tree commit diff
path: root/src/test/compile-fail/dst-rvalue.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/dst-rvalue.rs')
-rw-r--r--src/test/compile-fail/dst-rvalue.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/dst-rvalue.rs b/src/test/compile-fail/dst-rvalue.rs
index 74e952364cd..6e33fdf3f7b 100644
--- a/src/test/compile-fail/dst-rvalue.rs
+++ b/src/test/compile-fail/dst-rvalue.rs
@@ -17,8 +17,8 @@ pub fn main() {
     //~^ ERROR E0161
     //~^^ ERROR cannot move out of dereference
 
-    let array: &[int] = &[1, 2, 3];
-    let _x: Box<[int]> = box *array;
+    let array: &[isize] = &[1, 2, 3];
+    let _x: Box<[isize]> = box *array;
     //~^ ERROR E0161
     //~^^ ERROR cannot move out of dereference
 }