rustc: Do some plumbing work in preparation for common fields in enums
This commit is contained in:
parent
35db5b7be1
commit
4f98e80db1
21 changed files with 134 additions and 116 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue