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 524deed20f2..d5489b6a852 100644
--- a/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
+++ b/src/test/compile-fail/refutable-pattern-in-fn-arg.rs
@@ -9,6 +9,6 @@
 // except according to those terms.
 
 fn main() {
-    let f = |3: int| println("hello");  //~ ERROR refutable pattern
+    let f = |3: int| println!("hello");  //~ ERROR refutable pattern
     f(4);
 }