about summary refs log tree commit diff
path: root/src/test/compile-fail/static-mut-not-pat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/static-mut-not-pat.rs')
-rw-r--r--src/test/compile-fail/static-mut-not-pat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/static-mut-not-pat.rs b/src/test/compile-fail/static-mut-not-pat.rs
index de93422cd7a..d4170608559 100644
--- a/src/test/compile-fail/static-mut-not-pat.rs
+++ b/src/test/compile-fail/static-mut-not-pat.rs
@@ -12,7 +12,7 @@
 // statics cannot. This ensures that there's some form of error if this is
 // attempted.
 
-static mut a: int = 3;
+static mut a: isize = 3;
 
 fn main() {
     // If they can't be matched against, then it's possible to capture the same