about summary refs log tree commit diff
path: root/src/test/compile-fail/bind-struct-early-modifiers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/bind-struct-early-modifiers.rs')
-rw-r--r--src/test/compile-fail/bind-struct-early-modifiers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/bind-struct-early-modifiers.rs b/src/test/compile-fail/bind-struct-early-modifiers.rs
index 3671cf110d8..375f6c5d047 100644
--- a/src/test/compile-fail/bind-struct-early-modifiers.rs
+++ b/src/test/compile-fail/bind-struct-early-modifiers.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 fn main() {
-    struct Foo { x: int }
+    struct Foo { x: isize }
     match (Foo { x: 10 }) {
         Foo { ref x: ref x } => {}, //~ ERROR unexpected `:`
         _ => {}