librustc: Implement deriving with a unit return type. r=tjc

This commit is contained in:
Patrick Walton
2012-11-12 17:38:41 -08:00
parent c6d0117bf6
commit db9f8db741
5 changed files with 234 additions and 66 deletions

View File

@@ -207,8 +207,7 @@ fn map_item(i: @item, cx: ctx, v: vt) {
let impl_did = ast_util::local_def(i.id);
for ms_opt.each |ms| {
for ms.each |m| {
map_method(impl_did, extend(cx, i.ident), *m,
cx);
map_method(impl_did, extend(cx, i.ident), *m, cx);
}
}
}