about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-assign-imm-local-with-init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/liveness-assign-imm-local-with-init.rs')
-rw-r--r--src/test/compile-fail/liveness-assign-imm-local-with-init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-assign-imm-local-with-init.rs b/src/test/compile-fail/liveness-assign-imm-local-with-init.rs
index 8eb84525b83..28218bff60d 100644
--- a/src/test/compile-fail/liveness-assign-imm-local-with-init.rs
+++ b/src/test/compile-fail/liveness-assign-imm-local-with-init.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 fn test() {
-    let v: int = 1; //~ NOTE prior assignment occurs here
+    let v: isize = 1; //~ NOTE prior assignment occurs here
     v.clone();
     v = 2; //~ ERROR re-assignment of immutable variable
     v.clone();