about summary refs log tree commit diff
path: root/src/test/compile-fail/sendfn-is-not-a-lambda.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/sendfn-is-not-a-lambda.rs')
-rw-r--r--src/test/compile-fail/sendfn-is-not-a-lambda.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/sendfn-is-not-a-lambda.rs b/src/test/compile-fail/sendfn-is-not-a-lambda.rs
index 33bb06e4f26..847f85feb72 100644
--- a/src/test/compile-fail/sendfn-is-not-a-lambda.rs
+++ b/src/test/compile-fail/sendfn-is-not-a-lambda.rs
@@ -14,5 +14,5 @@ fn test(f: @fn(uint) -> uint) -> uint {
 
 fn main() {
     let f: ~fn(x: uint) -> uint = |x| 4u;
-    log(debug, test(f)); //~ ERROR expected @ closure, found ~ closure
+    debug!(test(f)); //~ ERROR expected @ closure, found ~ closure
 }