rustdoc: Assign AST ids to mod docs

This commit is contained in:
Brian Anderson
2012-01-18 18:35:55 -08:00
parent 5bbf72e11c
commit e39e34776e
4 changed files with 17 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ fn test_run_passes() {
) -> doc::cratedoc {
~{
topmod: ~{
id: 0,
name: doc.topmod.name + "two",
brief: none,
desc: none,
@@ -40,6 +41,7 @@ fn test_run_passes() {
) -> doc::cratedoc {
~{
topmod: ~{
id: 0,
name: doc.topmod.name + "three",
brief: none,
desc: none,