Add missing item variants to fold_item_underscore

This commit is contained in:
Brian Anderson 2011-06-30 00:42:57 -07:00
parent aa6a3debf3
commit 3483c65b1f

View File

@ -225,6 +225,9 @@ fn noop_fold_item_underscore(&item_ i, ast_fold fld) -> item_ {
dtor=option::map(fld.fold_method,o.dtor)),
typms, d)
}
case (item_res(?dtor, ?did, ?typms, ?cid)) {
item_res(fld.fold_fn(dtor), did, typms, cid)
}
};
}