]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/struct-literal-in-for.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / struct-literal-in-for.rs
index a37197b889de80dec1437bae8d69a307bcd075f0..4bb5d5e6aa1767c871dff52cfeab0f3182f4f750 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 struct Foo {
-    x: int,
+    x: isize,
 }
 
 impl Foo {