fix some unused pattern binding warnings

This commit is contained in:
Niko Matsakis
2012-08-24 14:04:38 -07:00
parent 5ba7434cb1
commit a8f1bee457
17 changed files with 43 additions and 42 deletions

View File

@@ -193,7 +193,7 @@ fn map_item(i: @item, cx: ctx, v: vt) {
let item_path = @/* FIXME (#2543) */ copy cx.path;
cx.map.insert(i.id, node_item(i, item_path));
match i.node {
item_impl(_, opt_ir, _, ms) => {
item_impl(_, _, _, ms) => {
let impl_did = ast_util::local_def(i.id);
for ms.each |m| {
map_method(impl_did, extend(cx, i.ident), m,