about summary refs log tree commit diff
path: root/src/test/run-pass/pattern-in-closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/pattern-in-closure.rs')
-rw-r--r--src/test/run-pass/pattern-in-closure.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/pattern-in-closure.rs b/src/test/run-pass/pattern-in-closure.rs
index e4f1df2d637..909ed985d7f 100644
--- a/src/test/run-pass/pattern-in-closure.rs
+++ b/src/test/run-pass/pattern-in-closure.rs
@@ -9,12 +9,12 @@
 // except according to those terms.
 
 struct Foo {
-    x: int,
-    y: int
+    x: isize,
+    y: isize
 }
 
 pub fn main() {
-    let f = |(x, _): (int, int)| println!("{}", x + 1);
+    let f = |(x, _): (isize, isize)| println!("{}", x + 1);
     let g = |Foo { x: x, y: _y }: Foo| println!("{}", x + 1);
     f((2, 3));
     g(Foo { x: 1, y: 2 });