1
Fork 0

rustc: Do some plumbing work in preparation for common fields in enums

This commit is contained in:
Patrick Walton 2012-08-08 17:14:25 -07:00
parent 35db5b7be1
commit 4f98e80db1
21 changed files with 134 additions and 116 deletions

View file

@ -79,9 +79,9 @@ fn moddoc_from_mod(
constdoc_from_const(itemdoc)
))
}
ast::item_enum(variants, _) => {
ast::item_enum(enum_definition, _) => {
some(doc::enumtag(
enumdoc_from_enum(itemdoc, variants)
enumdoc_from_enum(itemdoc, enum_definition.variants)
))
}
ast::item_trait(_, _, methods) => {