about summary refs log tree commit diff
path: root/src/test/compile-fail/enum-and-module-in-same-scope.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/enum-and-module-in-same-scope.rs')
-rw-r--r--src/test/compile-fail/enum-and-module-in-same-scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/enum-and-module-in-same-scope.rs b/src/test/compile-fail/enum-and-module-in-same-scope.rs
index 7526c6753e6..f3d8fcf31d7 100644
--- a/src/test/compile-fail/enum-and-module-in-same-scope.rs
+++ b/src/test/compile-fail/enum-and-module-in-same-scope.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 mod Foo {
-    pub static X: int = 42;
+    pub static X: isize = 42;
 }
 
 enum Foo {  //~ ERROR duplicate definition of type or module `Foo`