rustc: Box struct_defs

This commit is contained in:
Patrick Walton 2012-08-07 17:46:07 -07:00
parent 175be53e3f
commit 438765da59
13 changed files with 21 additions and 21 deletions

View file

@ -247,7 +247,7 @@ fn map_item(i: @item, cx: ctx, v: vt) {
vec::pop(cx.path);
}
fn map_struct_def(struct_def: ast::struct_def, parent_node: ast_node,
fn map_struct_def(struct_def: @ast::struct_def, parent_node: ast_node,
ident: ast::ident, id: ast::node_id, cx: ctx, _v: vt) {
let (_, ms) = ast_util::split_class_items(struct_def.members);
// Map trait refs to their parent classes. This is