about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-or-init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-or-init.rs')
-rw-r--r--src/test/compile-fail/borrowck-or-init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/borrowck-or-init.rs b/src/test/compile-fail/borrowck-or-init.rs
index 270eeca4c4b..27871a6ab16 100644
--- a/src/test/compile-fail/borrowck-or-init.rs
+++ b/src/test/compile-fail/borrowck-or-init.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 fn main() {
-    let i: int;
+    let i: isize;
 
     println!("{}", false || { i = 5; true });
     println!("{}", i); //~ ERROR use of possibly uninitialized variable: `i`