about summary refs log tree commit diff
path: root/src/libsyntax/ext/log_syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/ext/log_syntax.rs')
-rw-r--r--src/libsyntax/ext/log_syntax.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsyntax/ext/log_syntax.rs b/src/libsyntax/ext/log_syntax.rs
index 5ccbb143b97..50fac765483 100644
--- a/src/libsyntax/ext/log_syntax.rs
+++ b/src/libsyntax/ext/log_syntax.rs
@@ -11,5 +11,6 @@ fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg,
     );
 
     //trivial expression
-    ret @{id: cx.next_id(), node: ast::expr_rec([], option::none), span: sp};
+    ret @{id: cx.next_id(), node: ast::expr_rec([]/~, option::none),
+          span: sp};
 }