1
Fork 0

make nominal types optionally parameterized by a self region.

Issue #2201.
This commit is contained in:
Niko Matsakis 2012-04-18 21:26:25 -07:00
parent f3f34bf09b
commit 3c995fb8f3
45 changed files with 1324 additions and 932 deletions

View file

@ -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)
))