From 18851e4248855228b666f9b9877c03f4eb48a8a9 Mon Sep 17 00:00:00 2001 From: Ben Blum Date: Tue, 31 Jul 2012 13:25:18 -0400 Subject: Build fix: debug![ to debug!{ --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index f7b899cca95..594ec844bd3 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -275,7 +275,7 @@ class parser { let d = p.parse_ty_fn_decl(pur); let hi = p.last_span.hi; let self_ty = spanned(lo, hi, sty_by_ref); // XXX: Wrong. - debug!["parse_trait_methods(): trait method signature ends in \ + debug!{"parse_trait_methods(): trait method signature ends in \ `%s`", token_to_str(p.reader, p.token)}; alt p.token { -- cgit 1.4.1-3-g733a5