From 1d3b5478fad0ce427c0973175c68a4eb52b340d7 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 14 Aug 2012 12:10:51 -0700 Subject: [PATCH] Silence unused-variable warning. --- src/libsyntax/ext/tt/macro_rules.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsyntax/ext/tt/macro_rules.rs b/src/libsyntax/ext/tt/macro_rules.rs index 8abe8d8309d..38191065074 100644 --- a/src/libsyntax/ext/tt/macro_rules.rs +++ b/src/libsyntax/ext/tt/macro_rules.rs @@ -47,7 +47,7 @@ fn add_new_extension(cx: ext_ctxt, sp: span, name: ident, }; // Given `lhses` and `rhses`, this is the new macro we create - fn generic_extension(cx: ext_ctxt, sp: span, name: ident, + fn generic_extension(cx: ext_ctxt, sp: span, _name: ident, arg: ~[ast::token_tree], lhses: ~[@named_match], rhses: ~[@named_match]) -> mac_result {