about summary refs log tree commit diff
path: root/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/refutable-pattern-in-fn-arg.rs')
-rw-r--r--src/test/compile-fail/refutable-pattern-in-fn-arg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/refutable-pattern-in-fn-arg.rs b/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
index 575e9864a92..53f923e5061 100644
--- a/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
+++ b/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 fn main() {
-    let f = |&: 3: int| println!("hello");
+    let f = |&: 3: isize| println!("hello");
     //~^ ERROR refutable pattern in function argument: `_` not covered
     f(4);
 }