Skip to content

Commit 1d3b547

Browse files
committed
Silence unused-variable warning.
1 parent ea01572 commit 1d3b547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ext/tt/macro_rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn add_new_extension(cx: ext_ctxt, sp: span, name: ident,
4747
};
4848

4949
// Given `lhses` and `rhses`, this is the new macro we create
50-
fn generic_extension(cx: ext_ctxt, sp: span, name: ident,
50+
fn generic_extension(cx: ext_ctxt, sp: span, _name: ident,
5151
arg: ~[ast::token_tree],
5252
lhses: ~[@named_match], rhses: ~[@named_match])
5353
-> mac_result {

0 commit comments

Comments
 (0)