about summary refs log tree commit diff
path: root/src/test/compile-fail/borrowck-assign-to-constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/borrowck-assign-to-constants.rs')
-rw-r--r--src/test/compile-fail/borrowck-assign-to-constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/borrowck-assign-to-constants.rs b/src/test/compile-fail/borrowck-assign-to-constants.rs
index c0fb24c83e3..1b5b1899e0d 100644
--- a/src/test/compile-fail/borrowck-assign-to-constants.rs
+++ b/src/test/compile-fail/borrowck-assign-to-constants.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-static foo: int = 5;
+static foo: isize = 5;
 
 fn main() {
     // assigning to various global constants