summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-08-14 12:10:51 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-08-14 12:15:00 -0700
commit1d3b5478fad0ce427c0973175c68a4eb52b340d7 (patch)
treee117490f24041e0017e9afa2945e4683e455c673 /src/libsyntax
parentea0157250f4cc38bb479fc1cb0a20a34eecbc624 (diff)
downloadrust-1d3b5478fad0ce427c0973175c68a4eb52b340d7.tar.gz
rust-1d3b5478fad0ce427c0973175c68a4eb52b340d7.zip
Silence unused-variable warning.
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/tt/macro_rules.rs2
1 files changed, 1 insertions, 1 deletions
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 {