]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/bind-struct-early-modifiers.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / bind-struct-early-modifiers.rs
index 3671cf110d81e2bb43e61117760f8bee81f03af8..375f6c5d0475ecfc507f1286c49daee538739f5f 100644 (file)
@@ -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 `:`
         _ => {}