make nominal types optionally parameterized by a self region.
Issue #2201.
This commit is contained in:
parent
f3f34bf09b
commit
3c995fb8f3
45 changed files with 1324 additions and 932 deletions
|
@ -78,12 +78,12 @@ fn moddoc_from_mod(
|
|||
constdoc_from_const(itemdoc)
|
||||
))
|
||||
}
|
||||
ast::item_enum(variants, _) {
|
||||
ast::item_enum(variants, _, _) {
|
||||
some(doc::enumtag(
|
||||
enumdoc_from_enum(itemdoc, variants)
|
||||
))
|
||||
}
|
||||
ast::item_res(_, _, _, _, _) {
|
||||
ast::item_res(_, _, _, _, _, _) {
|
||||
some(doc::restag(
|
||||
resdoc_from_resource(itemdoc)
|
||||
))
|
||||
|
@ -98,7 +98,7 @@ fn moddoc_from_mod(
|
|||
impldoc_from_impl(itemdoc, methods)
|
||||
))
|
||||
}
|
||||
ast::item_ty(_, _) {
|
||||
ast::item_ty(_, _, _) {
|
||||
some(doc::tytag(
|
||||
tydoc_from_ty(itemdoc)
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue