]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/static-mut-not-constant.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / static-mut-not-constant.rs
index fd05f05502e9cafba7a17039d548afb60f7d8cda..7c228ce413f0f67f0dc118a6a4c5d8472a98bee7 100644 (file)
@@ -10,7 +10,7 @@
 
 #![feature(box_syntax)]
 
-static mut a: Box<int> = box 3;
+static mut a: Box<isize> = box 3;
 //~^ ERROR statics are not allowed to have custom pointers
 //~^^ ERROR mutable statics are not allowed to have owned pointers